setOverlayVisible: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Create page.)
 
m (Conversion script moved page SetOverlayVisible to setOverlayVisible: Converting page titles to lowercase)
 
(2 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 23:59, 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