getOverlayProperties: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{stub}} {{MacroFunction |name=getOverlayProperties |version=1.7.0 |description= Returns a json object holding the properties associated with a given overlay. The properties a...") |
mNo edit summary |
||
Line 20: | Line 20: | ||
</source> | </source> | ||
Getting the properties of the | Getting the properties of the overlay: | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> |
Revision as of 19:12, 16 May 2020
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
getOverlayProperties() Function
• Introduced in version 1.7.0
Returns a json object holding the properties associated with a given overlay. The properties are
name
, zorder
, and visible
.Usage
getOverlayProperties(name)
Parameters
name
- The name of the overlay.
Example
Opening up an overlay
[overlay("Test Overlay", "zorder=100;"): {test}]
Getting the properties of the overlay:
[getOverlayProperties("Test Overlay")]
The output will be:
{"name":"Test Overlay","zorder":100,"visible":1}