> For the complete documentation index, see [llms.txt](https://conusyntax.gitbook.io/products/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://conusyntax.gitbook.io/products/widget-blueprints/wbp_stepperbutton.md).

# WBP\_StepperButton

Allows players to navigate through a predefined range of options using side-to-side navigation arrows.

#### Behavior

Each **Stepper Button** is driven by a **Gameplay Tag** (e.g., `CharacterCreator.Gender`, `CharacterCreator.Race`, or `CharacterCreator.Groom.Hairstyle`). This tag serves two primary purposes:

* **Automatic Initialization**: The button uses the assigned tag to determine its data bounds and range of options.
* **Logic Execution**: It defines which internal function to trigger when the player selects an option from the range.

<figure><img src="https://1883754984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6EcXMpvBDtWhtztAbvO1%2Fuploads%2FOY6J6UrxUMuEQgAfV3nk%2FStepper%20Button%20-%20Decrement.jpg?alt=media&amp;token=67e9b95d-ccb2-4acc-a49a-8e6f45f8a3e8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1883754984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6EcXMpvBDtWhtztAbvO1%2Fuploads%2FccNIYdchAIStAA7a8peM%2FStepper%20Button%20-%20Increment.jpg?alt=media&amp;token=cca8e004-dc2a-48db-84c3-311800c079b4" alt=""><figcaption></figcaption></figure>

#### Initialization

The stepper initializes in the **Initialize Stepper Button** collapsed graph. The system reads the assigned Gameplay Tag to establish data bounds and populate the range:

* **Gender**: Initializes the range for Gender options.
* **Race**: Initializes the range for Race options.
* **Hairstyle**: Gathers the available Groom Assets for the range.

<figure><img src="https://1883754984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6EcXMpvBDtWhtztAbvO1%2Fuploads%2FrdLrhclUlmswUfKlPkmL%2FStepper%20Button%20-%20Initialization.jpg?alt=media&amp;token=4ed7e5b8-2d72-4eb6-bd37-7575c19ec19c" alt=""><figcaption></figcaption></figure>

#### Using the Stepper Button

1. Place a **WBP\_StepperButton** widget.
2. In the **Details**, go to **Button** ➞ **Attributes**.
3. **Set** **Gameplay Tag**: Assign the Gameplay Tag that corresponds to the data type you want this stepper to control.

<figure><img src="https://1883754984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6EcXMpvBDtWhtztAbvO1%2Fuploads%2F1ElVw8u4zUXqpIET32DN%2FWBP_StepperButton%20-%201.png?alt=media&amp;token=d54bb698-2b06-409d-8777-0ab8f183dd1f" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If no Gameplay Tag is assigned, the stepper will fail to initialize, and the navigation arrows will remain inactive.
{% endhint %}

### Available Functions

The blueprint contains a library of functions to support various data types. Ensure your Gameplay Tag is connected to the corresponding nodes in the **WBP\_StepperButton** graph:

#### Set Functions (Execution)

These apply the selected data to the Character.

<figure><img src="https://1883754984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6EcXMpvBDtWhtztAbvO1%2Fuploads%2FXQMfJNFYlZgQNcshAdUD%2FWBP_StepperButton%20-%202.png?alt=media&amp;token=6d82350f-b6d4-4bc8-aa00-06c443a56399" alt=""><figcaption></figcaption></figure>

#### Initialize Functions (Setup)

These functions define the content range for the stepper.

<figure><img src="https://1883754984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6EcXMpvBDtWhtztAbvO1%2Fuploads%2F5gDk1Q2ilZvlgMHCgoFU%2FStepper%20Button%20-%20Initialize%20Functions.jpg?alt=media&amp;token=70456c8c-f07b-4fc7-8ea5-f4d6c2c6933c" alt=""><figcaption></figcaption></figure>
