InputEventScreenDrag

Inherits: InputEvent < Resource < Reference < Object

Category: Core

Brief Description

Input event type for screen drag events.

(only available on mobile devices)

Member Variables

  • int index - Drag event index in the case of a multi-drag event.
  • Vector2 position - Drag position.
  • Vector2 relative - Drag position relative to its start position.
  • Vector2 speed - Drag speed.

Description

Contains screen drag information. See Node._input.