Type of the action argument of the Script.on_input method.

@:optionaloptionaly:Null<Float>

The y value of a pointer device, if present.

@:optionaloptionalx:Null<Float>

The x value of a pointer device, if present.

@:optionaloptionalvalue:Null<Float>

The amount of input given by the user. This is usually 1 for buttons and 0-1 for analogue inputs. This is not present for mouse movement.

@:optionaloptionaltouch:Null<Table<Int, ScriptOnInputActionTouch>>

List of touch input, one element per finger, if present.

@:optionaloptionalscreen_y:Null<Float>

The screen space y value of a pointer device, if present.

@:optionaloptionalscreen_x:Null<Float>

The screen space x value of a pointer device, if present.

@:optionaloptionalscreen_dy:Null<Float>

The change in screen space y value of a pointer device, if present.

@:optionaloptionalscreen_dx:Null<Float>

The change in screen space x value of a pointer device, if present.

@:optionaloptionalrepeated:Null<Bool>

If the input was repeated this frame. This is similar to how a key on a keyboard is repeated when you hold it down. This is not present for mouse movement.

@:optionaloptionalreleased:Null<Bool>

If the input was released this frame. This is not present for mouse movement.

@:optionaloptionalpressed:Null<Bool>

If the input was pressed this frame. This is not present for mouse movement.

@:optionaloptionalgamepad_name:Null<String>

The name of the gamepad that was connected. Available on the gamepad_connected input event.

@:optionaloptionalgamepad:Null<Int>

The index of the gamepad device that provided the input.

@:optionaloptionaldy:Null<Float>

The change in y value of a pointer device, if present.

@:optionaloptionaldx:Null<Float>

The change in x value of a pointer device, if present.