InputSystem.getButtonState

Check if a given button is down.

class InputSystem(ButtonEnum, AxisEnum)
getButtonState

Parameters

buttonCode
Type: Buttons

The button to check.

Return Value

The state of the button.

Meta