InputSystem.isButtonUp

Check if a given button is up.

class InputSystem(ButtonEnum, AxisEnum)
isButtonUp

Parameters

buttonCode
Type: Buttons

The code of the button to check.

checkPrevious
Type: bool

Whether or not to make sure the button was up last frame.

Return Value

The state of the button.

Meta