# 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](../../the-unity-interface/the-tabs/hierarchy-tab) or [Scene ](../../the-unity-interface/the-tabs/scene-tab)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](../../create/create-game-objects/parenting).
{% 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](../../../the-unity-interface/the-tabs/hierarchy-tab#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="../../create/create-game-objects" %}
[create-game-objects](../../create/create-game-objects)
{% endcontent-ref %}

{% content-ref url="../../select/update-game-objects/editor-selecting-objects" %}
[editor-selecting-objects](../../select/update-game-objects/editor-selecting-objects)
{% endcontent-ref %}

