InputEventScreenDrag¶
Inherits: InputEvent < Resource < Reference < Object
Input event type for screen drag events. Only available on mobile devices.
Description¶
Contains screen drag information. See Node._input.
Tutorials¶
Properties¶
|
||
|
||
|
||
|
Property Descriptions¶
int index = 0
The drag event index in the case of a multi-drag event.
Vector2 position = Vector2( 0, 0 )
The drag position.
Vector2 relative = Vector2( 0, 0 )
The drag position relative to the previous position (position at the last frame).
Vector2 speed = Vector2( 0, 0 )
The drag speed.