# Smooth Toggle

The **Smooth Toggle** node smoothly interpolates a boolean value between 0 and 1 with easing. It's equivalent to convert to float → `AlphaInterp` → `Ease`, combined into a single node.

## Usage

1. Add the **Smooth Toggle** node to your Control Rig graph
2. Connect a boolean to the **Toggle** input
3. Use the **Weight** output as a blend weight for other nodes

Useful for smoothly blending aim nodes in/out based on gameplay state (e.g., smoothly activating weapon aim when the character enters aim mode).

## Output Pins

| Pin | Type | Description |
|-----|------|-------------|
| Weight | float | The resulting smoothed weight (0 to 1) |

## Input Pins

| Pin | Type | Description |
|-----|------|-------------|
| Toggle | bool | The toggle value to interpolate towards |
| Easing Type | Easing | The type of easing to apply to the interpolated value (default: Cubic Ease In-Out) |
| Interp Speed Increasing | float | The speed at which the weight increases when the toggle is true (default: 10) |
| Interp Speed Decreasing | float | The speed at which the weight decreases when the toggle is false (default: 5) |

## Example

A common pattern is to use Smooth Toggle to drive the **Weight** pin of an [Aim Chain](aim-chain.md) or [Aim Weapon](aim-weapon.md) node:

```
[Is Aiming? (bool)] → [Smooth Toggle] → Weight → [Aim Chain]
```

This makes the aim smoothly blend in when the character starts aiming and smoothly blend out when they stop.
