Vizard 6 » Command Index » Vizard modules » viz » <viz:key>.anyDown
6.3

<viz:key>.anyDown

Returns whether any of the specified keys are down

 

<viz:key>.anyDown(  
keys  
immediate = False  
)  

 

keys
A sequence of keys
immediate = False
If True, Vizard will immediately query the keyboard instead of using the cached value.

Remarks

This command will return whether any of the specified keys are down.

Return Value

True if at least one of the specified keys is down.
False otherwise

See also

<viz:key>.allDown
<viz:key>.isDown