Skip to content

Visibility and Activity

Crutiatix edited this page Apr 29, 2017 · 2 revisions

Activity

Elements and elements in groups can be enabled and disabled. When disabled, a element will still be updated but will ignore the mouse, making it idle.

  • Methods:

    • element:active
      • arguments:
        • [bool]
      • return: (if no arguments)
        • [bool] - get activity state

Visibility

Likewise, they can be shown and hidden. You can also retrieve the visibility and activity of a specific element.

  • Methods:

    • element:visible
      • arguments:
        • [bool]
      • return: (if no arguments)
        • [bool] - get visibility state

Modifications:

  • v0.7.0
    • merged setActive and getActive to active
    • merged setVisible and getVisible to visible
Clone this wiki locally