Managing Components - Lumberyard User Guide

Managing Components

You can also use the context menu in the Entity Inspector to remove, copy, and reorder components.

To manage components from the context menu

  1. In the Entity Outliner or in the viewport, select the entity.

  2. In the Entity Inspector, right-click the component, or click the menu button in the header, and then select one of the following:

    • Add component – Add a component to the entity

    • Delete component – Remove a component from an entity

    • Cut component – Cut a component from one entity and paste it onto a different entity

    • Copy component – Copy a component and then paste it onto the same entity, which creates a duplicate component that you can customize

    • Paste component – Copy a component and then paste it onto a different entity

    • Enable component – Make a component available

    • Disable component – Make a component unavailable

    • Move component up – Move a component up the list

    • Move component down – Move a component down the list

    • Move component to top – Move a component to the top of the list

    • Move component to bottom – Move component to the bottom of the list

    You can also click and drag individual components into a desired order. Organize the components for an entity in any order that makes sense to you. The custom order for your components is saved to the level. The component order has no significance to its function.

    • The Transform component is automatically added to an entity and can't be moved from the component list.

    • Some actions are disabled, depending on the context. For example, you can't paste a component if you haven't copied one.