diff --git a/v3/src/gameobjects/GameObject.js b/v3/src/gameobjects/GameObject.js index bd6fdd8a1..c9b3ac2cf 100644 --- a/v3/src/gameobjects/GameObject.js +++ b/v3/src/gameobjects/GameObject.js @@ -35,6 +35,9 @@ var GameObject = new Class({ // Will Render bitmask flags for the components Visible, Alpha, Transform and Texture respectively this.renderMask = 15; this.renderFlags = 15; + + // Trigger a state z-depth sort + this.state.sys.sortChildrenFlag = true; }, // For GameObject Pooling and item selection