Up to date
This page is up to date for Godot 4.0
.
If you still find outdated information, please open an issue.
InputEventGesture¶
Inherits: InputEventWithModifiers < InputEventFromWindow < InputEvent < Resource < RefCounted < Object
Inherited By: InputEventMagnifyGesture, InputEventPanGesture
Base class for touch control gestures.
Properties¶
|
Property Descriptions¶
Vector2 position = Vector2(0, 0)
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.