Click or drag to resize

InputEventMousePosition Property

The local mouse position relative to the Viewport. If used in _GuiInput(InputEvent), the position is relative to the current Control which is under the mouse.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2 Position { get; set; }

Property Value

Type: Vector2
See Also