tokens.moveCount: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
[[Category:Special Variable]] | [[Category:Special Variable]] | ||
[[Category:Macro Function]] |
Revision as of 20:08, 4 July 2023
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]