isMousePressed(btn?: MouseButton | MouseButton[]): boolean

If mouse buttons are just clicked last frame

parambtn- The button(s) to check.

sincev2000.0