Token Lock
From Roll20 Wiki
Page Updated: 2022-02-06 |
Beta⚗️ This feature is in Early Access, available users as opt-in. |
This is about an Unreleased/Highly Requested feature. |
Locking a token in place, to prevent if from being moved on the map.
As of Feb 4, 2022, Token Lock is available on the Dev Server for testing.
Workaround
There are two API that can kinda achieves a token lock, but neither does truly stop tokens from being moved, but rather resets their position after moving, so if Dynamic Lighting is active, neither API prevents users from revealing a bit more than wanted.
Another option is boxing in Tokens with Windows (Dynamic Lighting), using Script:DoorKnocker or UDLWindows(Forum). This will prevent token movement by players if "Restrict Movement" is turned on.
- Creating the window boxes around a token isn't quick, so not practical to lock a player's token who is currently moving around.
- the windows would also block other tokens from moving through the square
For GMs who want to prevent players from moving too far on the map on their own out-of-turn, they could segment the map into "sections", by placing Windows blocking movement further in, while not blocking sight. Could be used for starting a cut-scene, and stopping players from accidentally revealing too much of what's further in.