# UIToolkitMotionExtensions

Bind tween values to UI Toolkit styles, transforms, text and progress bars.

Namespace: MeatMotion.Extensions

Assembly: MeatMotion

```csharp
public static class UIToolkitMotionExtensions
```

Requires com.unity.modules.uielements

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L9](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L9)

## BindToStyleLeft

Schedule a tween that writes the interpolated value to StyleLeft on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleLeft(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L13](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L13)

```csharp
public static MotionHandle BindToStyleLeft<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L16](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L16)

## BindToStyleRight

Schedule a tween that writes the interpolated value to StyleRight on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleRight(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L21](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L21)

```csharp
public static MotionHandle BindToStyleRight<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L24](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L24)

## BindToStyleTop

Schedule a tween that writes the interpolated value to StyleTop on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleTop(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L29](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L29)

```csharp
public static MotionHandle BindToStyleTop<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L32](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L32)

## BindToStyleBottom

Schedule a tween that writes the interpolated value to StyleBottom on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleBottom(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L37](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L37)

```csharp
public static MotionHandle BindToStyleBottom<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L40](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L40)

## BindToStyleWidth

Schedule a tween that writes the interpolated value to StyleWidth on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleWidth(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L45](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L45)

```csharp
public static MotionHandle BindToStyleWidth<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L48](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L48)

## BindToStyleHeight

Schedule a tween that writes the interpolated value to StyleHeight on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleHeight(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L53](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L53)

```csharp
public static MotionHandle BindToStyleHeight<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L56](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L56)

## BindToStyleOpacity

Schedule a tween that writes the interpolated value to StyleOpacity on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleOpacity(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L61](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L61)

```csharp
public static MotionHandle BindToStyleOpacity<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L64](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L64)

## BindToStyleFontSize

Schedule a tween that writes the interpolated value to StyleFontSize on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleFontSize(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L69](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L69)

```csharp
public static MotionHandle BindToStyleFontSize<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L72](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L72)

## BindToStyleWordSpacing

Schedule a tween that writes the interpolated value to StyleWordSpacing on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleWordSpacing(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L77](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L77)

```csharp
public static MotionHandle BindToStyleWordSpacing<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L80](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L80)

## BindToStyleColor

Schedule a tween that writes the interpolated value to StyleColor on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleColor<TOptions, TAdapter>(this MotionBuilder<Color, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Color, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Color, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L85](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L85)

## BindToStyleColorR

Update only the R channel of StyleColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleColorR(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L90](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L90)

```csharp
public static MotionHandle BindToStyleColorR<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L93](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L93)

## BindToStyleColorG

Update only the G channel of StyleColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleColorG(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L103](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L103)

```csharp
public static MotionHandle BindToStyleColorG<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L106](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L106)

## BindToStyleColorB

Update only the B channel of StyleColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleColorB(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L116](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L116)

```csharp
public static MotionHandle BindToStyleColorB<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L119](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L119)

## BindToStyleColorA

Update only the A channel of StyleColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleColorA(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L129](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L129)

```csharp
public static MotionHandle BindToStyleColorA<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L132](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L132)

## BindToStyleBackgroundColor

Schedule a tween that writes the interpolated value to StyleBackgroundColor on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleBackgroundColor<TOptions, TAdapter>(this MotionBuilder<Color, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Color, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Color, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L142](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L142)

## BindToStyleBackgroundColorR

Update only the R channel of StyleBackgroundColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleBackgroundColorR(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L147](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L147)

```csharp
public static MotionHandle BindToStyleBackgroundColorR<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L150](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L150)

## BindToStyleBackgroundColorG

Update only the G channel of StyleBackgroundColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleBackgroundColorG(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L160](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L160)

```csharp
public static MotionHandle BindToStyleBackgroundColorG<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L163](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L163)

## BindToStyleBackgroundColorB

Update only the B channel of StyleBackgroundColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleBackgroundColorB(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L173](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L173)

```csharp
public static MotionHandle BindToStyleBackgroundColorB<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L176](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L176)

## BindToStyleBackgroundColorA

Update only the A channel of StyleBackgroundColor, retaining the other color components.

```csharp
public static MotionHandle BindToStyleBackgroundColorA(this FloatMotionBuilder builder, VisualElement visualElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L186](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L186)

```csharp
public static MotionHandle BindToStyleBackgroundColorA<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L189](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L189)

## BindToStyleTranslate

Schedule a tween that writes the interpolated value to StyleTranslate on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleTranslate<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Vector2, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L199](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L199)

```csharp
public static MotionHandle BindToStyleTranslate<TOptions, TAdapter>(this MotionBuilder<Vector3, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector3, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Vector3, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L204](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L204)

## BindToStyleTransformOrigin

Schedule a tween that writes the interpolated value to StyleTransformOrigin on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleTransformOrigin<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector2, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Vector2, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L209](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L209)

```csharp
public static MotionHandle BindToStyleTransformOrigin<TOptions, TAdapter>(this MotionBuilder<Vector3, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector3, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Vector3, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L214](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L214)

## BindToStyleScale

Schedule a tween that writes the interpolated value to StyleScale on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleScale<TOptions, TAdapter>(this MotionBuilder<Vector3, TOptions, TAdapter> builder, VisualElement visualElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Vector3, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Vector3, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L219](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L219)

## BindToStyleRotate

Schedule a tween that writes the interpolated value to StyleRotate on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToStyleRotate(this FloatMotionBuilder builder, VisualElement visualElement, AngleUnit angleUnit = AngleUnit.Degree)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- `angleUnit = AngleUnit.Degree` (`AngleUnit`) Unit used to interpret the UI Toolkit angle.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L224](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L224)

```csharp
public static MotionHandle BindToStyleRotate<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, VisualElement visualElement, AngleUnit angleUnit = AngleUnit.Degree)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `visualElement` (`VisualElement`) Target VisualElement that receives the update.
- `angleUnit = AngleUnit.Degree` (`AngleUnit`) Unit used to interpret the UI Toolkit angle.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L227](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L227)

## BindToProgressBar

Schedule a tween that writes the interpolated value to ProgressBar on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToProgressBar(this FloatMotionBuilder builder, AbstractProgressBar progressBar)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `progressBar` (`AbstractProgressBar`) Target AbstractProgressBar that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L232](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L232)

```csharp
public static MotionHandle BindToProgressBar<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, AbstractProgressBar progressBar)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `progressBar` (`AbstractProgressBar`) Target AbstractProgressBar that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L235](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L235)

## BindToText

Write interpolated text or a formatted numeric value to the text component.

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString32Bytes, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString32Bytes, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<FixedString32Bytes, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L240](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L240)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString64Bytes, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString64Bytes, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<FixedString64Bytes, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L245](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L245)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString128Bytes, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString128Bytes, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<FixedString128Bytes, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L250](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L250)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString512Bytes, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString512Bytes, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<FixedString512Bytes, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L255](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L255)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<FixedString4096Bytes, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<FixedString4096Bytes, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<FixedString4096Bytes, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L260](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L260)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<int, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<int, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<int, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L265](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L265)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<int, TOptions, TAdapter> builder, TextElement textElement, string format)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<int, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<int, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- `format` (`string`) Format string for converting the sampled value to text.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L270](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L270)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<long, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<long, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<long, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L275](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L275)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<long, TOptions, TAdapter> builder, TextElement textElement, string format)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<long, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<long, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- `format` (`string`) Format string for converting the sampled value to text.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L280](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L280)

```csharp
public static MotionHandle BindToText(this FloatMotionBuilder builder, TextElement textElement)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L285](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L285)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TextElement textElement)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L288](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L288)

```csharp
public static MotionHandle BindToText(this FloatMotionBuilder builder, TextElement textElement, string format)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- `format` (`string`) Format string for converting the sampled value to text.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L293](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L293)

```csharp
public static MotionHandle BindToText<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, TextElement textElement, string format)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `textElement` (`TextElement`) Target TextElement that receives the update.
- `format` (`string`) Format string for converting the sampled value to text.
- Returns: `MotionHandle`

[Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs · L296](../../../source/Runtime/Bindings/UIToolkit/UIToolkitMotionExtensions.cs.html#L296)
