# Disabling and Removing Components in the Editor

## Disabling Components

Disable components on selected game objects and assets by using the checkbox next to the name of the component.

![](/files/-M9L0_9Ja699C4zV15Qm)

{% hint style="info" %}
Not all components have this checkbox. For those components, consider removing them when not used or change the values to have the desired non-effect.
{% endhint %}

## Removing Components

To remove a component on a selected game object or asset, right-click on the component and select **Remove Component**.

![](/files/-M9UjWuMww0hccEg7vns)

{% content-ref url="/pages/-M8ZLD4KHhQhjczd1-3B" %}
[Update Components in the Inspector](/unity-basics/select/components/using-the-inspector-tab.md)
{% endcontent-ref %}

{% content-ref url="/pages/-M8ZKvMeq0f-PAwi-mTI" %}
[Adding Components in the Inspector](/unity-basics/create/create-scripts/using-inspector-tab.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hopemoore.gitbook.io/unity-basics/delete/components/in-editor-disabling-and-removing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
