Phaser API Documentation

  Version: 
clearCaptures()

Description:

Removes all keyboard captures.

Note that this is a global change. It will clear all event captures across your game, not just for this specific Scene.

Returns:
Description:

This KeyboardPlugin object.

Since: 3.16.0