User Tools

Site Tools


crpl:docs:getkeyup

<- CRPL reference <- Input Commands

GetKeyUp

ArgumentsResultNotation
Key to check 0 or 1 depending if Key was released s1 – b1

Description

Checks the specified keyboard key to see if it is was released during this game frame. Returns true only once during the game frame/loop that the key was released. For a list of possible key strings, look here: http://docs.unity3d.com/Documentation/ScriptReference/KeyCode.html

Examples

if (GetKeyUp("Space"))
    #Do something
endif
crpl/docs/getkeyup.txt · Last modified: 2021/02/05 11:44 by Karsten75