
Update v0.2.2 -- removed requirement for isGM, moved to Git. Update v0.11 -- Minor update to restrict rotation along with movement. This brought up by William R. in this thread: <a href="https://app.roll20.net/forum/post/1358099/#post-13" rel="nofollow">https://app.roll20.net/forum/post/1358099/#post-13</a>... Ari K. was looking for a way to prevent players from moving their tokens in a theater of the mind game. This is a script for that purpose. TokenLock allows the GM to selectively restrict the moving of player tokens. Since there isn't any way to tell who is moving a token from the on('change:graphic',...) callback, this script assumes that any token with a controlled by (either on the token or the character that token represents) is a player token. TokenLock can be either Locked or Unlocked . When Locked , it will move any moved player token back to the spot where it was before being moved. When Unlocked , player token movement works as normal. Cards can still be moved no matter what lock state TokenLock is in. There are 3 commands: !tl lock -- This locks the tokens. !tl unlock -- This unlocks the tokens. !tl -- This will print out the help and instructions Git: <a href="https://github.com/shdwjk/Roll20API/blob/master/To" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/To</a>... Support my work on If you use my scripts, want to contribute, and have the spare bucks to do so , go right ahead. However, please don't feel like you must contribute just to use them! I'd much rather have happy Roll20 users armed with my scripts than people not using them out of some sense of shame. Use them and be happy, completely guilt-free! Disclaimer: This Patreon campaign is not affiliated with Roll20; as such, contributions are voluntary and Roll20 cannot provide support or refunds for contributions.