@vttforge/core / KeyboardApi
Interface: KeyboardApi ​
game.keyboard.
Properties ​
downKeys ​
readonlydownKeys:Set<string>
moveKeys ​
readonlymoveKeys:Set<string>
Methods ​
hasFocus() ​
hasFocus():
boolean
Returns ​
boolean
isModifierActive() ​
isModifierActive(
modifier):boolean
Parameters ​
modifier ​
string
Returns ​
boolean