Phaser API Documentation

  Version: 
setEmitOnRepeat(value)

Description:

Controls if this Key will continuously emit a down event while being held down (true), or emit the event just once, on first press, and then skip future events (false).

Parameters:

name type description
value boolean

Emit down events on repeated key down actions, or just once?

Returns:
Description:

This Key instance.

Examples:
Since: 3.16.0