# Sprite 1D Range Controller

{% hint style="danger" %}
There is no hierarchy priority for Sprite Controller.
{% endhint %}

{% hint style="info" %}
For instructions on how to create a Sprite 1D Range Controller, please refer [here](https://myty.gitbook.io/myty-kit/make-animation/8.-myty-kit-controllers/pages/dBy25eQk1Az7cVc6HZBy#2.-create-controller).
{% endhint %}

1\. Open the Controller window by clicking the <mark style="color:purple;">`upper toolbar > MYTY Kit > Bone 2D Controller`</mark>. If you drag and drop a tab into the Inspector window, you can use it together within the Inspector window.

![](/files/aXsX3Bo4kiqmKQkIlUyS)

2\. Click the ◉ icon to the right of the Controller input box, and designate the Controller object you want to control on the Sprite 1D Controller panel.

![Example screen of object selection - The object to which Sprite 1D Controller Component is applied appears.](/files/DDd0VkKZbtNuYwaS2kFT)

3\. Find the Sprite object you want to control in the Hierarchy panel and select them all.

![](/files/ryHzalgKJdz8uPBBeYSj)

4\. Click the Add button in the Controller Inspector window to add all relevant sprites.

![](/files/ubqmGtkFUfkRej0LMEVn)

5\. Select Auto Load Labels to automatically load Sprite Labels to frame animation.

![](/files/DjkWM8kZGVbItAd58zYc)

{% hint style="danger" %}
If the following error appears when multiple Sprite objects have been added, it means that the sub-layer names of the Sprite objects in the Animation Group of the PSB file are not the same as each other.\
![](/files/omghePCqKR6mrO4ETT2S)
{% endhint %}

6\. Set the range in which the sprite with each label will be expressed. You can set the expression range of the Sprite by specifying the Min and Max values to match the input value.

![Example screen - Sprite 1D Controller setting screen](/files/Lcya59n9rVaObwwKY5YN)

7\. By moving the <mark style="color:purple;">`Value slide`</mark>, you can preview the frame animation according to the input value.

![Example screen - Image of pupils that change according to input data value](/files/g0XfPgXf4wTVYnHTa6Lx)


---

# 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://myty.gitbook.io/myty-kit/make-animation/8.-myty-kit-controllers/sprite-1d-range-controller.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.
