*** id: 25d7e907-21af-444d-a1a8-b0f432916819 title: setPositions slug: /node/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 | Name | Type | Description | | :----------------- | :--------------- | :--------------------------------------------- | | `params` | `Object` | - | | `params.positions` | `VideoPositions` | Mapping of member IDs and positions to assign. | #### Returns `Promise` #### Example ```js await roomSession.setPositions({ positions: { "1bf4d4fb-a3e4-4d46-80a8-3ebfdceb2a60": "reserved-1", "e0c5be44-d6c7-438f-8cda-f859a1a0b1e7": "auto" }, }); ```