---
title: Set tags and layers
product: Unity Spark
canonical: https://docs.unity.com/en-us/unity-spark/create/build/components/set-tags-layers
last_updated: 2026-12-01
generated_at: 2026-12-01T21:10:30.168Z
locale: en-us
---

# Set tags and layers

> Assign tags and layers to objects, create new ones, and rename or remove them in the Unity Spark Inspector window.

Tags label objects so your scripts can find them, such as `Player` or `Enemy`. Layers sort objects into groups. For example, a camera can use its **Culling Mask** to draw only some layers.

## Assign a tag or layer

To assign a tag or layer to an object:

1. Select the tag button or the layer button at the top of the **Inspector** window. Its tooltip shows the current value, such as **Tag: Untagged**.
2. Select a tag or layer from the list. To create a new one, enter its name in the search box and select **Create "name"**.

   Unity Spark assigns the new tag or layer to the object immediately.

When you select several objects, the **Tag** and **Layer** lists appear under the header and set the tag or layer of every selected object.

## Rename or remove tags and layers

To rename or remove tags and layers, select **Add Tag** or **Add Layer** at the bottom of the list. **Tags & Layers** opens, with sections for **Tags**, **Layers**, and **Sorting Layers**. You can't change built-in entries, which are grayed out. You can have up to 24 layers of your own.

## Ask the assistant to assign tags

You can also ask the [AI assistant](/unity-spark/create/assistant/about-assistant.md) to assign tags for you, for example, `Tag all the coins as Collectible.`

## Additional resources

* [Inspector window reference](/unity-spark/create/build/components/inspector-window-reference.md)
* [Add and manage components](/unity-spark/create/build/components/manage-components.md)
* [Introduction to components, tags, and layers](/unity-spark/create/build/components/about-components.md)
