Phaser API Documentation

  Version: 
toJSON()

Description:

Build a JSON representation of this Sprite.

Returns:
Description:

A JSON representation of the Game Object.

Examples:
Since: 3.0.0