This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:getkey [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:getkey [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <- [[.: | + | <- [[.: |
| - | ===== | + | ===== |
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | Key| True/False| [ String |
| === Description === | === Description === | ||
| + | Checks to see if a specific key has been held down. [[.: | ||
| === Examples === | === Examples === | ||
| Line 14: | Line 15: | ||
| stack.Push(new Data(0)); | stack.Push(new Data(0)); | ||
| + | if (GetKey(" | ||
| + | "Held down" trace | ||
| + | endif | ||
| </ | </ | ||