This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:getkeyup [2016/12/02 23:33] – external edit 127.0.0.1 | prpl:getkeyup [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 released up on this frame. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | stack.Push(new Data(0)); | + | # let's say you want to launch a missile as soon as you release the " |
| - | stack.Push(new Data(Input.GetKeyUp(kc2) ? 1 : 0)); | + | " |
| - | stack.Push(new Data(0)); | + | |
| - | + | endif | |
| </ | </ | ||