Phaser API Documentation

  Version: 
KeyComboConfig
Properties:
name type arguments Default description
resetOnWrongKey boolean <optional> true

If they press the wrong key do we reset the combo?

maxKeyDelay number <optional> 0

The max delay in ms between each key press. Above this the combo is reset. 0 means disabled.

resetOnMatch boolean <optional> false

If previously matched and they press the first key of the combo again, will it reset?

deleteOnMatch boolean <optional> false

If the combo matches, will it delete itself?

Type:
object
Since: 3.0.0