*** id: 5ae43e9c-5a9f-4588-9102-1a1e311aef3a title: setMemberPosition slug: /js/reference/video/room-session/set-member-position description: setMemberPosition method for the RoomSession class. max-toc-depth: 3 ---------------- ### setMemberPosition * **setMemberPosition**(`params`): `Promise` 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` #### 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/video/room-tokens/create-room-token) on the server side. #### Example ```js await roomSession.setMemberPosition({ memberId: "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60", position: "off-canvas", }); ```