if_keypressed

Script Reference IF Commands

if_keypressed (key) //Advanced { }

Used for : Functions and Loopscripts

Parameters :

- key - The key you want to check for.

Description :

Checks if the player holds down a certain key. Possible values for key are : a-z, 0-9, up, down, right, left, ctrl, alt, space, enter, backspace and F1 - F10. This check will be true as long as the key is down. [Variables] can be used as parameters.