Skip to content
Adrien GIVRY edited this page Sep 26, 2020 · 3 revisions

Description

Some global inputs functions

Variables

This usertype has no variables

Constructors

This usertype has no constructors

Functions

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
LockMouse Locks and hides the mouse cursor
UnlockMouse Unlocks and shows the mouse cursor

Operators

This usertype has no operators

Clone this wiki locally