Input Control#

class InputControl#

The base class of dropdowns, input fields, sliders and toggles, which hold a value the user can change.

Base class: Control
Derived classes: Dropdown, InputField, Slider, Toggle
bool changed()#
void set_changed(bool value)#

Whether the user has changed the control’s value.

Note

This property is set to true when the user changes the value, and not when a client sets it. A client script should reset the property to false in order to detect subsequent changes.