Struct InputEventScreenDrag
Input event type for screen drag events. Only available on mobile devices.
struct InputEventScreenDrag
;
Contains screen drag information. See Node
.
Properties
Name | Type | Description |
---|---|---|
index [get, set]
|
long | The drag event index in the case of a multi-drag event. |
position [get, set]
|
Vector2 | The drag position. |
relative [get, set]
|
Vector2 | The drag position relative to its start position. |
speed [get, set]
|
Vector2 | The drag speed. |
Methods
Name | Description |
---|---|
getIndex
|
|
getPosition
|
|
getRelative
|
|
getSpeed
|
|
setIndex
|
|
setPosition
|
|
setRelative
|
|
setSpeed
|