Skip to content

ControlEvent

Control events.

attributesdescription
EventClickRepresents the event when a control is clicked.
EventPointerEnterWhen the pointer enters a UI element.
EventPointerLeaveWhen the pointer exits the UI element.
EventPointerUpRepresents the pointer up event, which is triggered when the user presses and releases a mouse button (or touch).
EventPointerDownRepresents the pointer down event, which is triggered when the user presses a mouse button (or touches the screen).
EventScrollWheelWhen the mouse wheel is scrolled.
EventPointerMoveWhen the pointer moves over a UI element.
EventPointerDragTriggered when the mouse button is pressed, released, or when dragging over an element.
EventPointerStationaryTriggered when the pointer (usually the mouse) hovers over a UI element.
EventSelectedEvent that is triggered when a control is selected.
EventLostSelectedRepresents the event of a control being deselected.
EventRenderingStartedThe event triggered when the control starts rendering.
EventRenderingEndedThe event triggered when the control finishes rendering.
EventShowEvent that indicates the control has been set to visible.
EventHiddenEvent that indicates when a control is hidden.
EventEnabledEvent that indicates when a control is enabled.
EventDisabledEvent that indicates the control is disabled.
EventKeyDownRepresents an event when a key is pressed.
EventKeyUpRepresents an event when a key is released.
EventCharacterKeyThe event triggered when characters are entered in an input field.
EventStartEvent that indicates the completion of control initialization.
EventUpdatedRepresents an event that is executed every frame.
EventDestructionEvent that is triggered when the control is destroyed.
EventValueChangedAn event triggered when a value changes.
EventScrollHandles scroll events.
EventValidityChangedThe event triggered when the validity of the control changes.
EventStateChangedTriggered when the state of the control changes.