KeyboardManager.isKeyPressed
FunctionReturns true if the specified key is currently pressed.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
isKeyPressed(
key):boolean
Returns true if the specified key is currently pressed.
Parameters
| Parameter | Type |
|---|---|
key | Keys |
Returns
boolean