Skip to content

Commit cd0a27a

Browse files
committed
1 parent 0042124 commit cd0a27a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/gameobjects/GameObject.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ var GameObject = new Class({
3636
EventEmitter.call(this);
3737

3838
/**
39-
* The Scene to which this Game Object belongs.
39+
* A reference to the Scene to which this Game Object belongs.
40+
*
4041
* Game Objects can only belong to one Scene.
4142
*
43+
* You should consider this property as being read-only. You cannot move a
44+
* Game Object to another Scene by simply changing it.
45+
*
4246
* @name Phaser.GameObjects.GameObject#scene
4347
* @type {Phaser.Scene}
44-
* @protected
4548
* @since 3.0.0
4649
*/
4750
this.scene = scene;

0 commit comments

Comments
 (0)