This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:getkeydown [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:getkeydown [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <- [[.: | + | <- [[.: |
| - | ===== | + | ===== |
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | string |
| === Description === | === Description === | ||
| + | Checks if the key was pressed down on this frame. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | stack.Push(new Data(0)); | + | " |
| - | stack.Push(new Data(Input.GetKeyDown(kc2) ? 1 : 0)); | + | @Fire #will be called only on the frame you press enter |
| - | stack.Push(new Data(0)); | + | endif |
| - | + | ||
| </ | </ | ||