Input

The Input library deals with user input.

Methods


Input.KeyPressed(vKey)

Checks if a key was just pressed this frame.

Parameters

vKey : (number) Virtual key code. Complete list can be found at Microsoft Docs

Returns

pressed : (bool) Whether the key was just pressed this frame.