setOverlayVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Create page.)
 
m (Conversion script moved page setOverlayVisible to SetOverlayVisible without leaving a redirect: Converting page title to first-letter uppercase)
(No difference)

Revision as of 22:39, 9 February 2023

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