Click or drag to resize

ViewportGetMousePosition Method

Returns the mouse position relative to the viewport.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2 GetMousePosition()

Return Value

Type: Vector2

[Missing <returns> documentation for "M:Godot.Viewport.GetMousePosition"]

See Also