isPressed
fn
bool isPressed(char key)Returns true if the specified character was pressed this frame.
fn
bool isPressed(Keyboard key)Returns true if the specified keyboard key was pressed this frame.
fn
bool isPressed(Mouse key)Returns true if the specified mouse button was pressed this frame.
fn
bool isPressed(Gamepad key, int id = 0)Returns true if the specified gamepad button was pressed this frame.