Cursor
Members
A specific user's cursor on a TouchScreen
.
Player
The Username
of the Cursor
's owner.
It is of the type string
.
Pressed
Whether or not the left mouse button is held.
It is of the type boolean
.
UserId
The UserId
of the Cursor
's owner.
It is of the type number
.
X
The X
position of the Cursor
relative to the top left corner of the display.
It is of the type number
.
Y
The Y
position of the Cursor
relative to the top left corner of the display.
It is of the type number
.
Luau Type
This is the luau type for Cursor
. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).
export type Cursor = {
Y: number,
Player: string,
X: number,
UserId: number,
Pressed: boolean,
}