RiftButton:SetVisible

Sets the frame's visibility flag. If set to false, then this frame and all its children will not be rendered or accept mouse input.

Usage:

Element:SetVisible(visible)
ParameterTypeDatatypeDescription
visibleparameterbooleanThe new visibility flag.
noSecureFrameAndEnvironment
true