W3cubDocs

/Godot 3.0

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.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_inputeventscreendrag.html