setLayer
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage.
setLayer() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.3b48
Sets the Map Layer that a Token is on.
The Map Layer is one of:
TOKEN
GM
also known as HiddenOBJECT
BACKGROUND
Usage
setLayer(layer)
setLayer(layer, id)
Parameters
layer
- The layer to move the Token to.id
- The tokenid
of the token which has its layer set, defaults to the Current Token.
See Also
Version Changes
- 1.3b51 - Added
id
parameter option.