tokens.moveCount

From RPTools Wiki
Revision as of 23:59, 4 July 2023 by Taustin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

tokens.moveCount


You can use this variable in onTokenMove and onMultipleTokensMove events to find out how many tokens were moved.

usage

<!-- @onMultipleTokensMove -->
<!-- cancel movement if more than one token was moved -->
[h, if(tokens.moveCount>1): tokens.denyMove = 1]