FANDOM


Widget API ← Region < Hide

This function makes an object, and all its children, invisible.

MyObject:Hide()

Parameters Edit

Arguments Edit

none

Returns Edit

nil

Notes Edit

Makes an object invisible. If it is a Frame derivate, and has children, they will be hidden as well.
The OnHide event handler will be called for the object and all its children.


  • Future calls to :IsShown() as well as :IsVisible() will return false for the object.
  • Child objects will return false from :IsVisible(), but will return true from :IsShown unless :Hide() is called on them explicitly.
Community content is available under CC-BY-SA unless otherwise noted.