Skip to content

API reference Obsidian.API.Client

GuiPosition record struct

A position on a screen, in the GUI's pixels.

public readonly record struct GuiPosition : IEquatable<GuiPosition>

In Obsidian.API.Client.

Constructors

GuiPosition(int, int)

public GuiPosition(int X, int Y);

A position on a screen, in the GUI's pixels.

Parameters

X
Pixels from the left.
Y
Pixels from the top.

Properties

X

public int X { get; init; }

Pixels from the left.

Y

public int Y { get; init; }

Pixels from the top.

On this page