manipulation-tools-origin.rst 572 B

1234567891011
  1. .. include:: ../_header.rst
  2. Origin tool
  3. ~~~~~~~~~~~
  4. With this tool, you can edit the origin of an object. You can activate it in the context menu, the |MainToolbar|_, or with the ``O`` key.
  5. In Phaser_ v3, the rotation pivot of `containers <container-object.html>`_ is fixed at ``x=0, y=0``. You cannot change it. However, the `origin tool`_ simulates a change of the pivot by moving around the children of the `container <container-object.html>`_ but keeping the same global position.
  6. .. image:: ../images/scene-editor-tools-origin-05242020.webp
  7. :alt: Origin tool.