Click or drag to resize

InputEventMouseGlobalPosition Property

The global mouse position relative to the current Viewport when used in _GuiInput(InputEvent), otherwise is at 0,0.

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

Property Value

Type: Vector2
See Also