We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a2327f commit 7525ed2Copy full SHA for 7525ed2
1 file changed
src/gameobjects/container/Container.js
@@ -26,6 +26,10 @@ var Vector2 = require('../../math/Vector2');
26
*
27
* The position of the Game Object automatically becomes relative to the position of the Container.
28
29
+ * The origin of a Container is 0x0 (in local space) and that cannot be changed. The children you add to the
30
+ * Container should be positioned with this value in mind. I.e. you should treat 0x0 as being the center of
31
+ * the Container, and position children positively and negative around it as required.
32
+ *
33
* When the Container is rendered, all of its children are rendered as well, in the order in which they exist
34
* within the Container. Container children can be repositioned using methods such as `MoveUp`, `MoveDown` and `SendToBack`.
35
0 commit comments