> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# setPositions

> setPositions method for the RoomSession class.

### setPositions

* **setPositions**(`params`): `Promise<void>`

Assigns a position in the layout for multiple members.

#### Parameters

Object containing the parameters of the method.

Mapping of member IDs and positions to assign.

#### Returns

`Promise<void>`

#### Permissions

* `room.set_position`

You need to specify the permissions when [creating the Video Room Token](/docs/apis/rest/video/room-tokens/create-room-token) on the server side.

#### Example

```js
await roomSession.setPositions({
  positions: {
    "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60": "reserved-1",
    "e0c5be44-d6c7-438f-8cda-f859a1a0b1e7": "auto",
  },
});
```