inputState

@Dispatches(event = "Lifetime.Disabled", when = "value == INPUT_DISABLED")
@Dispatches(event = "Lifetime.Enabled", when = "value != INPUT_DISABLED")
@Dispatches(event = "Mouse.Entered", when = "value > INPUT_NONE")
@Dispatches(event = "Mouse.Exited", when = "value == INPUT_NONE")
@set:ApiStatus.Internal
var inputState: Byte

The current input state of this drawable. Note that this value is not responsible for dispatching events such as Event.Mouse.Exited or Event.Mouse.Pressed. It is just here for tracking purposes and for your benefit.

This value will be of INPUT_DISABLED (-1), INPUT_NONE (0), INPUT_HOVERED (1), or INPUT_PRESSED (2).

Do not modify this value!

Since

1.0.0