> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # setMemberPosition > setMemberPosition method for the RoomSession class. ### setMemberPosition * **setMemberPosition**(`params`): `Promise` Assigns a position in the layout to the specified member. #### Parameters **`params`** `object` Object containing the parameters of the method. --- **`memberId`** `string` Id of the member to affect. If omitted, affects the current member. --- **`position`** `VideoPosition` Position to assign in the layout. --- #### Returns `Promise` #### 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", }); ``` > setMemberPosition method for the RoomSession class.