Skip to content

Commit 7525ed2

Browse files
committed
Updated docs
1 parent 6a2327f commit 7525ed2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/gameobjects/container/Container.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ var Vector2 = require('../../math/Vector2');
2626
*
2727
* The position of the Game Object automatically becomes relative to the position of the Container.
2828
*
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+
*
2933
* When the Container is rendered, all of its children are rendered as well, in the order in which they exist
3034
* within the Container. Container children can be repositioned using methods such as `MoveUp`, `MoveDown` and `SendToBack`.
3135
*

0 commit comments

Comments
 (0)