ScreenButton

ScreenButton

Properties

VideoChip VideoChip

The videochip the screen part of this button is bound to.

ButtonState booleanread only

The pressed/released state of this button.

ButtonDown booleanread only

A boolean flag which will be true only in the time tick the corresponding button changes it's state to pressed.

ButtonUp booleanread only

A boolean flag which will be true only in the time tick the corresponding button changes it's state to released.

InputSource InputSource

Offset vec2read only

Width numberread only

Height numberread only

Events

ScreenButtonEvent : { ButtonDown boolean, ButtonUp boolean, Type string }

Sent when the ScreenButton is pressed or released