This command is used to determine if a key is currently down
| <viz:key>.isDown( | |
| key | # which key to check |
| immediate = False |
)
key
This can be either an ascii character or a Vizard special key such as viz.KEY_UP
immediate = False
If True, Vizard will immediately query the keyboard instead of using the cached value.
Use this command at any time to see if a key is down.
1 if the key is down, 0 if it is not