# Cycle Part

The **Cycle Part** instruction allows you to cycle through parts of a specific category on a Sidekick Character,  moving to the **Next**, **Previous**, or a **Random** part.\
If the character currently has no part equipped in that category, it automatically starts with the first available part from the catalog cache.

#### Inside the Instruction

**Sidekick Character**\
The character whose parts you want to cycle.

**Type**\
Select the category of the part you want to cycle through.\
There are **38 categories** available, such as:

* Head
* Hair
* Torso
* Hips
* Attachments
* …and more.

**Direction**\
Choose the cycling direction:

* **Next** - Cycles forward through the available parts.
* **Previous** - Cycles backward through the available parts.
* **Random** - Selects a random part from the available options.

**Filter by Pack**\
By default set to **Any**.\
Allows you to limit the cycling to parts from a specific **Sidekick Modular Character Pack** (e.g., only cycle through parts in the “Human Base” pack).

**Include None**\
When enabled, if the character is currently wearing the **last part** in the catalog, cycling **Next** will remove the part (set it to none).\
Cycling **Next** again will equip the **first** part in the catalog cache.

***

#### Example Use Case

You can create a **character customizer** where players can cycle through hairstyles or outfits.\
For example, add a **UI Button** that runs the **Cycle Part (Next)** instruction whenever it’s clicked.\
Each press of the button will move to the next available hair style, letting players easily preview different looks before confirming their choice.

<figure><img src="https://756218607-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv2D32cRkVCHsF9VcmKPA%2Fuploads%2FTb1T5bBS5GaW7pJNHqrN%2FUnity_E2o0L22g29.png?alt=media&#x26;token=f0c2f8cd-dfd2-4d04-a684-33fb7b4c5155" alt="" width="375"><figcaption></figcaption></figure>
