Skip to content
0880 edited this page Apr 5, 2024 · 1 revision

Methods

isKeyPressed(String key)

  • Checks if the specified key is currently pressed.

isKeyJustPressed(String key)

  • Checks if the specified key was just pressed.

isButtonPressed(String button)

  • Checks if the specified mouse button is currently pressed.

isButtonJustPressed(String button)

  • Checks if the specified mouse button was just pressed.

getMouse()

  • Returns the current mouse position as a Vector2.

Clone this wiki locally