On this page
InputEventGesture
Inherits: InputEventWithModifiers < InputEvent < Resource < Reference < Object
Inherited By: InputEventMagnifyGesture, InputEventPanGesture
Base class for touch control gestures.
Properties
Property Descriptions
Vector2 position
Default |
|
Setter |
set_position(value) |
Getter |
get_position() |
The local gesture position relative to the Viewport. If used in Control._gui_input, the position is relative to the current Control that received this gesture.
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_inputeventgesture.html