Removes a Key object from this Keyboard Plugin.
The given argument can be either a Key object, a string, such as A
or SPACE
, or a key code value.
name | type | arguments | Default | description |
---|---|---|---|---|
key | string | number | Phaser.Input.Keyboard.Key |
Either a Key object, a string, such as |
||
destroy | boolean | <optional> | false |
Call |
removeCapture | boolean | <optional> | false |
Remove this Key from being captured? Only applies if set to capture when created. |
This KeyboardPlugin object.