Phaser API Documentation

  Version: 
emitOnRepeat: boolean

Description:

When a key is held down should it continuously fire the down event each time it repeats?

By default it will emit the down event just once, but if you wish to receive the event for each repeat as well, enable this property.

Type:
boolean
Default: false
Since: 3.16.0