Click or drag to resize

OSGetScreenPosition Method

Returns the position of the specified screen by index. If screen is [/code]-1[/code] (the default value), the current screen will be used.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Vector2 GetScreenPosition(
	int screen = -1
)

Parameters

screen (Optional)
Type: SystemInt32

[Missing <param name="screen"/> documentation for "M:Godot.OS.GetScreenPosition(System.Int32)"]

Return Value

Type: Vector2

[Missing <returns> documentation for "M:Godot.OS.GetScreenPosition(System.Int32)"]

See Also