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
Default |
|
Setter |
set_index(value) |
Getter |
get_index() |
The drag event index in the case of a multi-drag event.
Vector2 position
Default |
|
Setter |
set_position(value) |
Getter |
get_position() |
The drag position.
Vector2 relative
Default |
|
Setter |
set_relative(value) |
Getter |
get_relative() |
The drag position relative to the previous position (position at the last frame).
Vector2 speed
Default |
|
Setter |
set_speed(value) |
Getter |
get_speed() |
The drag speed.