User Tools

Site Tools


prpl:getkey

This is an old revision of the document!


<- PRPL reference <- Everything Else 2

GETKEY

ArgumentsResultNotation
Key True/False [ String - True/False ]

Description

Checks to see if a specific key has been held down.

Examples

	s1 = GetStringFromStack(); 
		stack.Push(new Data(Input.GetKey(kc1) ? 1 : 0)); 
		stack.Push(new Data(0)); 
 
        if (GetKey("LeftArrow")) 
                #Insert Result
        endif
prpl/getkey.1482349495.txt.gz · Last modified: 2025/02/14 14:56 (external edit)