.. default-domain:: lua .. highlight:: lua .. currentmodule:: UI Input Control ============= .. class:: InputControl The base class of dropdowns, input fields, sliders and toggles, which hold a value the user can change. | Base class: :class:`UI.Control` | Derived classes: :class:`UI.Dropdown`, :class:`UI.InputField`, :class:`UI.Slider`, :class:`UI.Toggle` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`UI.Control`: :attr:`interactable `, :attr:`color `, :attr:`tooltip ` * From :class:`UI.Object`: :attr:`rect_transform `, :attr:`layout_element `, :attr:`visible `, :meth:`remove ` .. attribute:: changed: boolean Whether the user has changed the control's value. :Attribute: Can be read or written .. 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.