Phaser API Documentation

  Version: 
disableInteractive()

Description:

A Layer cannot be enabled for input.

This method does nothing and is kept to ensure the Layer has the same shape as a Game Object.

Returns:
Description:

This GameObject.

Since: 3.51.0