InputEventScreenTouch

Inherits: InputEvent < Resource < Reference < Object

Category: Core

Brief Description

Input event type for screen touch events.

(only available on mobile devices)

Properties

intindex
Vector2position
boolpressed

Description

Stores multi-touch press/release information. Supports touch press, touch release and index for multi-touch count and order.

Tutorials

Property Descriptions

Setterset_index(value)
Getterget_index()

Touch index in the case of a multi-touch event. One index = one finger.


Setterset_position(value)
Getterget_position()

Touch position.


Setterset_pressed(value)
Getteris_pressed()

If true, the touch’s state is pressed. If false, the touch’s state is released.