setOverlayVisible

From RPTools Wiki
Revision as of 23:59, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page SetOverlayVisible to setOverlayVisible: Converting page titles to lowercase)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

setOverlayVisible() Function

Introduced in version 1.11.0
Use to toggle the visible status of an Overlay as seen in the Windows -> Overlay menu.

Usage

setOverlayVisible(name, visible)

Parameters

  • name - Overlay name.
  • visible - A 1 or 0 to make the overlay visible or not.

Example

Hide an overlay:
[r: setOverlayVisible("MyOverlay", 0)]

Returns:

None.

See Also

Version Changes

  • 1.11.0 - Function added