Inherits: InputEventFromWindow < InputEvent < Resource < RefCounted < Object
Represents a screen drag event.
Stores information about screen drag events. See Node._input.
| ||
| ||
| ||
| ||
| ||
| ||
|
0
The drag event index in the case of a multi-drag event.
false
Returns true when using the eraser end of a stylus pen.
Vector2(0, 0)
The drag position in the viewport the node is in, using the coordinate system of this viewport.
0.0
Represents the pressure the user puts on the pen. Ranges from 0.0 to 1.0.
Vector2(0, 0)
The drag position relative to the previous position (position at the last frame).
Vector2(0, 0)
Represents the angles of tilt of the pen. Positive X-coordinate value indicates a tilt to the right. Positive Y-coordinate value indicates a tilt toward the user. Ranges from -1.0 to 1.0 for both axes.
Vector2(0, 0)
The drag velocity.
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_inputeventscreendrag.html