InputEventScreenTouch

Inherits: InputEvent < Resource < Reference < Object

Category: Core

Brief Description

Input event type for screen touch events.

Member Functions

int get_index ( ) const
Vector2 get_position ( ) const
void set_index ( int index )
void set_position ( Vector2 pos )
void set_pressed ( bool pressed )

Member Variables

  • int index - Touch event index in the case of a multi-touch event.
  • Vector2 position - Position of the touch event.
  • bool pressed - Pressed state of the touch event.

Member Function Description

  • int get_index ( ) const
  • void set_index ( int index )
  • void set_position ( Vector2 pos )
  • void set_pressed ( bool pressed )