InputEventScreenDrag

Inherits: InputEvent < Resource < Reference < Object Input event type for screen drag events. Only available on mobile devices.

Description

Node._input.

Tutorials

  • 使用 InputEvent

    Properties

    Property Descriptions

  • int index The drag event index in the case of a multi-drag event.

  • Vector2 position The drag position.

  • Vector2 relative The drag position relative to the previous position (position at the last frame).

  • Vector2 speed The drag speed.