*** id: 1ac66cfd-4093-477c-ab15-636ed9636546 title: setPositions slug: /js/reference/video/room-session/set-positions description: setPositions method for the RoomSession class. max-toc-depth: 3 ---------------- ### setPositions * **setPositions**(`params`): `Promise` 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` #### Permissions * `room.set_position` 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.setPositions({ positions: { "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60": "reserved-1", "e0c5be44-d6c7-438f-8cda-f859a1a0b1e7": "auto", }, }); ```