Phaser API Documentation

  Version: 
setInteractive()

Description:

Pass this Mesh Game Object to the Input Manager to enable it for Input.

Unlike other Game Objects, the Mesh Game Object uses its own special hit area callback, which you cannot override.

Returns:
Description:

This GameObject.

Examples:
mesh.setInteractive();
Since: 3.60.0