-
Notifications
You must be signed in to change notification settings - Fork 279
Inputs
Adrien Givry edited this page Apr 10, 2025
·
4 revisions
Some global inputs functions
This usertype has no variables
This usertype has no constructors
| Name | Input | Output | Description |
|---|---|---|---|
| GetKeyDown |
Key: key |
boolean |
Returns true if the key has been pressed during the current frame |
| GetKeyUp |
Key: key |
boolean |
Returns true if the key has been released during the current frame |
| GetKey |
Key: key |
boolean |
Returns true if the key is currently down |
| GetMouseButtonDown |
MouseButton: mouseButton |
boolean |
Returns true if the mouse button has been pressed during the current frame |
| GetMouseButtonUp |
MouseButton: mouseButton |
boolean |
Returns true if the mouse button has been released during the current frame |
| GetMouseButton |
MouseButton: mouseButton |
boolean |
Returns true if the mouse button is currently down |
| GetMousePos | Vector2 |
Returns the current position of the mouse cursor | |
| GetMouseScroll | Vector2 |
Returns the current scroll value | |
| LockMouse | Locks and hides the mouse cursor | ||
| UnlockMouse | Unlocks and shows the mouse cursor |
This usertype has no operators
