tokens.denyMove: Difference between revisions

From RPTools Wiki
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]]

Latest revision as of 20:08, 4 July 2023

tokens.denyMove


You can use this variable in the onTokenMove event to cancel the movement made.


usage

<!-- @onTokenMove -->
<!-- cance movement if condition -->
[h, if(condition): tokens.denyMove = 1]