getLayer: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Macros:Functions:getLayer moved to getLayer) |
Verisimilar (talk | contribs) m (Added version.) |
||
Line 1: | Line 1: | ||
{{MacroFunction | {{MacroFunction | ||
|name=getLayer | |name=getLayer | ||
|version=1.3b48 | |||
|description=Returns the [[Map:map layer{{!}}map layer]] that the [[Token:Current Token{{!}}Current Token]] is on. | |description=Returns the [[Map:map layer{{!}}map layer]] that the [[Token:Current Token{{!}}Current Token]] is on. | ||
Line 11: | Line 12: | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
getLayer() | |||
</source> | </source> | ||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 12:07, 10 March 2009
getLayer() Function
• Introduced in version 1.3b48
Returns the map layer that the Current Token is on.
The map layer is one of:
- TOKEN
- BACKGROUND
- GM
- OBJECT
Usage
getLayer()