(Formerly known as SetGUIClickable, which is now obsolete)
bool GUI.Clickable
Gets/sets whether the GUI is clickable or not. This allows you to modify the "Clickable"
checkbox from the GUI Editor.
If this is set to 1, then the GUI will respond to mouse clicks as normal.
If this is set to 0, then this GUI cannot be clicked on by the mouse. This might be
useful for a transparent overlay GUI which displays information, and you want the
player to be able to click on whatever is underneath.
Example:
gStatusline.Clickable = false;
sets the STATUSLINE GUI to no longer respond to mouse clicks.
See Also: GUI.GetAtScreenXY
|