We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a20245 commit 3969d6eCopy full SHA for 3969d6e
1 file changed
src/gameobjects/container/Container.js
@@ -44,6 +44,9 @@ var Vector2 = require('../../math/Vector2');
44
*
45
* Containers can be enabled for input. Because they do not have a texture you need to provide a shape for them
46
* to use as their hit area. Container children can also be enabled for input, independent of the Container.
47
+ *
48
+ * If input enabling a _child_ you should not set both the `origin` and a **negative** scale factor on the child,
49
+ * or the input area will become misaligned.
50
51
* Containers can be given a physics body for either Arcade Physics, Impact Physics or Matter Physics. However,
52
* if Container _children_ are enabled for physics you may get unexpected results, such as offset bodies,
0 commit comments