data : Object
An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be used by your own code, orby Phaser Plugins, to store data that needs to be associated with the Game Object,without polluting the Game Object directly.
Inherited From Phaser.Component.Core#data Default Value {} Source code: gameobjects/components/Core.js (Line 160)