> For the complete documentation index, see [llms.txt](https://hopemoore.gitbook.io/unity-basics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hopemoore.gitbook.io/unity-basics/delete/delete-game-objects/delete-in-editor.md).

# Deleting and Disabling Objects in the Editor

## Deleting Game Objects

Game objects can be deleted easily within the Unity editor.

Just select your game object in the [Hierarchy](/unity-basics/the-unity-interface/the-tabs/hierarchy-tab.md) or [Scene ](/unity-basics/the-unity-interface/the-tabs/scene-tab.md)window and press the Delete key on your keyboard.

Another way is to select your game object in the Hierarchy, right-click within the tab, and select **Delete**.

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M9UZ4z0ZlXAhQuo91jC%2F-M9U__UfzC5i1zjZ3c8o%2Fimage.png?alt=media\&token=4c5756ab-9f64-4ea7-8029-cd305651155a)

{% hint style="danger" %}
If you delete a parent object, the child objects will also be deleted. Read more about [Parenting](/unity-basics/create/create-game-objects/parenting.md).
{% endhint %}

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

## Disabling Game Objects

Sometimes, you just want to disable a game object to use later or to test a scene without it. [Hiding objects in the Scene view](/unity-basics/the-unity-interface/the-tabs/hierarchy-tab.md#hiding-objects) only hides it in that window.

To disable and enable objects, select the object in the Hierarchy or Scene window.

In the Inspector window, click the checkbox next to the name of the game object to toggle its availability.

A shortcut for this is **ALT + SHIFT + A**

![](https://3795241431-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8XSUYVSlHMdPUNud-2%2F-M8rtwjIx9obK1giqglI%2F-M9-6CopAeniM7JeQMD-%2Fimage.png?alt=media\&token=4c0d9bb5-a845-49ea-8dd4-9a8d784a3e18)

{% content-ref url="/pages/-M8XUSDeBGrrvs5Uetdq" %}
[Creating Game Objects](/unity-basics/create/create-game-objects.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M8ZLMy1TOeadU24ETIV" %}
[Updating Game Objects in the Editor](/unity-basics/select/update-game-objects/editor-selecting-objects.md)
{% endcontent-ref %}
