InputEventScreenTouch

Inherits: InputEvent < Resource < Reference < Object Input event type for screen touch events. (only available on mobile devices)

Description

index for multi-touch count and order.

Tutorials

  • Using InputEvent

    Properties

    Property Descriptions

  • int index The touch index in the case of a multi-touch event. One index = one finger.

  • Vector2 position The touch position.

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