movedOverToken: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
| | ||
<!-- The 'nbsp' is needed to close the DIV --> | <!-- The 'nbsp' is needed to close the DIV --> | ||
|usage= | |||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
movedOverToken(token, lastPath) | movedOverToken(token, lastPath) | ||
</source> | </source> | ||
}} | }} | ||
[[Category:Miscellaneous Function]] | [[Category:Miscellaneous Function]] |
Revision as of 04:36, 7 March 2019
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: lastPath-format specified, define/explain return value, examples
movedOverToken() Function
• Introduced in version 1.3.b74
Is used to check if
token
is in an array of cell coordinates like the one received from getLastPath() or the onTokenMove event's macro.args
.
Usage
movedOverToken(token, lastPath)