GuiScreen

The basic GuiScreen class

Extended by

Properties

doesGuiPauseGame

readonly doesGuiPauseGame: boolean

Does the gui pause the game?

Methods

mouseClicked()

mouseClicked(x, y, button): void

Click the gui in the given position.

Parameters

x

number

The x position

y

number

The y position

button

number

The button

Returns

void


mouseClickMove()

mouseClickMove(x, y, button, time): void

Drag mouse to position.

Parameters

x

number

The x position

y

number

The y position

button

number

The button

time

number

Time since last click

Returns

void


mouseReleased()

mouseReleased(x, y, button): void

Release mouse at the given position.

Parameters

x

number

The x position

y

number

The y position

button

number

The button

Returns

void

Last updated