Hides the element without destroying it. Call Show() to make it visible again.
Makes a previously hidden element visible again.
Permanently removes the element from the UI panel.
Returns the current value of the element.
Programmatically sets the element's value. Persists to storage and triggers OnChange listeners.
Registers a callback that fires whenever the user changes the value.
A UI element that holds a typed value and notifies listeners on change. Returned by AddSlider, AddTextInput, AddToggle, AddDropdown, AddTextArea, AddColorPicker, AddFilePicker, AddDirectoryPicker, and AddListBox. Values are automatically persisted to storage on every change and restored on next run.
Example