.. default-domain:: py .. highlight:: py .. 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:`Control` | Derived classes: :class:`Dropdown`, :class:`InputField`, :class:`Slider`, :class:`Toggle` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Control`: :attr:`~Control.interactable`, :attr:`~Control.color`, :attr:`~Control.tooltip` * From :class:`Object`: :attr:`~Object.rect_transform`, :attr:`~Object.layout_element`, :attr:`~Object.visible`, :meth:`~Object.remove` .. attribute:: changed Whether the user has changed the control's value. :Attribute: Can be read or written :rtype: bool .. 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.