ButtonEventArgs.isPressed

Checks whether a range of buttons are pressed or not.

  1. bool isPressed(T pressedButton)
  2. bool isPressed(Range pressedButtons)
    class ButtonEventArgs(T)
    bool
    isPressed
    (
    Range
    )

Parameters

pressedButtons
Type: Range

The buttons to check if pressed or not.

Return Value

Type: bool

true if all buttons are pressed.

Meta