children-properties.rst 1.1 KB

123456789101112131415161718
  1. .. include:: ../_header.rst
  2. Children properties
  3. -------------------
  4. The `containers <./container-object.html>`_ and `layers <./layer-object.html>`_ are objects with children, and share children-based properties.
  5. The **Children** properties are not part of the Phaser_ API, they are used only by the editor, in design-time.
  6. The **Allow Picking Children In Scene** property allows picking a child in the scene. If it is disable, you cannot pick a child by clicking in the scene. This is useful if you want to manipulate the parent container (or layer) and children as a single object.
  7. The **Show Children In Outline** parameter is similar. It allows showing the container or layer children in the |OutlineView|_.
  8. .. image:: ../images/scene-editor-children-properties-20221004.webp
  9. :alt: The Children properties.
  10. The **Allow Append Children** parameter indicates this Layer or Container allows adding new children in prefab instances. This parameter has sense only if the object has a nested prefab scope. `Learn more about adding children to a prefab instance <./prefab-instance-children.html>`_.