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

# setMemberPosition

> setMemberPosition method for the RoomSession class.

### setMemberPosition

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

Assigns a position in the layout to the specified member.

#### Parameters

Object containing the parameters of the method.

Id of the member to affect. If omitted, affects the current member.

Position to assign in the layout.

#### Returns

`Promise<void>`

#### Permissions

* `room.self.set_position`: to set the position for the local member.
* `room.member.set_position`: to set the position for a remote member.

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.setMemberPosition({
  memberId: "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60",
  position: "off-canvas",
});
```