Control the overlay in Play Mode
static void setOpacity(opacity: number)
Set the opacity for the Play Mode overlay
Parameters | |
opacity | Opacity value from 0.1 - 1 |
static number getState()
Get the current state of the overlay
Return | |
number | Current state of the overlay: 0 - Compressed or 1 - Expanded |
static void setState(state: number)
Change the current state of the overlay
Parameters | |
state | 0 - Compressed or 1 - Expanded |
static Region getRegion()
Get the region of the overlay
Return | |
Region | The region of the overlay |
static void move(point: Point)
Move the overlay
Parameters | |
point | Coordinates to move |
static void spin(start: bool = true)
Spin the overlay. Use with static app where the screen is rarely changed
Parameters | |
start | false to stop the spin |
© 2024 - Macrorify by KoK-CODE