This shows you the differences between two versions of the page.
prpl:getkeydown [2016/12/02 18:33] – external edit 127.0.0.1 | prpl:getkeydown [2018/06/14 17:17] (current) – added description kajacx | ||
---|---|---|---|
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 |
- | + | ||
</ | </ | ||