*** id: a11158c0-62bd-4ac7-b6a6-72956ada17ac title: setMemberPosition slug: /node/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 | Name | Type | Description | | :---------------- | :-------------- | :-------------------------------- | | `params` | `Object` | - | | `params.memberId` | `string` | Id of the member to affect. | | `params.position` | `VideoPosition` | Position to assign in the layout. | #### Returns `Promise` #### Example ```js await roomSession.setMemberPosition({ memberId: "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60", position: "off-canvas", }); ```