This is an old revision of the document!
<- PRPL reference <- Everything Else 2
| Arguments | Result | Notation |
|---|---|---|
| Key | True/False | [ String - True/False ] |
Checks to see if a specific key has been pushed down and returns true if so, false if not.
s1 = GetStringFromStack();
stack.Push(new Data(Input.GetKey(kc1) ? 1 : 0));
stack.Push(new Data(0));
if (GetKey("LeftArrow")) //Sees if Left Arrow is pushed and executes code if so
#Insert Result
endif