# Updating Game Objects in the Editor

To update a game object, you will need to select it in either the [Hierarchy](../../the-unity-interface/the-tabs/hierarchy-tab) or [Scene](../../the-unity-interface/the-tabs/scene-tab) windows.

{% hint style="danger" %}
Changes made while in Play Mode will revert back to the values before playing.

You can copy the component attached to a game object and its values in Play Mode, then paste the values or as a new component when no longer in Play Mode.
{% endhint %}

## Different Tabs for Different Features

Below are ways you can update game objects in each of the default windows.

### **Hierarchy Window**

* Click and drag game objects to order and organize them
* Click and drag game objects to change to [create parent and child objects](../../create/create-game-objects/parenting)
*   Rename game objects

    &#x20;    Options:\
    &#x20;         1\. Click once to make the name editable\
    &#x20;         2\. Right-click or use the taskbar GameObject menu
* Change the [visibility](../../../the-unity-interface/the-tabs/hierarchy-tab#hiding-objects) in the Scene view
* Change whether or not the object can be [selected](../../../the-unity-interface/the-tabs/hierarchy-tab#finding-and-selecting) within the Scene view

### Scene View / Window

* Click and drag on the colored vectors to update the [position, rotation, and scale](../../translate-rotate-and-scale/intro-to-transforms)
* Use the [tools at the top left of the window](../../../the-unity-interface/the-tabs/scene-tab#more-tools-outside-of-the-tab)
* Use custom tools

### Inspector Window

* Update values within the components
* Rename objects
* Activate / deactivate components and scripts

### Project Window

* Click and drag assets to objects in the Hierarchy or Scene windows
* Click and drag assets to components and scripts
* Update materials
* Update assets used by game objects (such as materials)

## Updating Transforms

For detailed information about ways to update the position, rotation, and scale of game objects, please see the following section:

{% content-ref url="../../translate-rotate-and-scale/intro-to-transforms" %}
[intro-to-transforms](../../translate-rotate-and-scale/intro-to-transforms)
{% endcontent-ref %}

## Adding Assets to Game Objects

Some assets such as materials and scripts can be added to game objects by clicking the asset and dragging it onto the object in the Hierarchy or Scene windows. If the object is selected and showing in the Inspector, you can click and drag some assets into the Inspector window to add it.

{% content-ref url="../../create/create-game-objects" %}
[create-game-objects](../../create/create-game-objects)
{% endcontent-ref %}

{% content-ref url="../../delete/delete-game-objects" %}
[delete-game-objects](../../delete/delete-game-objects)
{% endcontent-ref %}

{% content-ref url="../../delete/delete-game-objects/delete-in-editor" %}
[delete-in-editor](../../delete/delete-game-objects/delete-in-editor)
{% endcontent-ref %}

