User Tools

Site Tools


prpl:getkey

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
prpl:getkey [2016/12/02 18:33] – external edit 127.0.0.1prpl:getkey [2018/06/14 17:14] (current) – fixed name kajacx
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#input|Input]]
  
-=====  GETKEY  =====+=====  GetKey  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+KeyTrue/False| [ String True/False ] |
  
  
 === Description === === Description ===
 +Checks to see if a specific key has been held down. [[.:key_codes|List]] of all key codes.
  
 === Examples === === Examples ===
Line 14: Line 15:
  stack.Push(new Data(0));   stack.Push(new Data(0)); 
    
 +        if (GetKey("LeftArrow")) 
 +                "Held down" trace
 +        endif
 </code> </code>
  
prpl/getkey.txt · Last modified: 2018/06/14 17:14 by kajacx