# RectTransformMotionExtensions

Bind a RectTransform's anchors, pivot, size delta or anchored position.

Namespace: MeatMotion.Extensions

Assembly: MeatMotion.UI

```csharp
public static partial class RectTransformMotionExtensions
```

Requires com.unity.ugui

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L5](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L5)

## BindToAnchoredPosition

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

```csharp
public static MotionHandle BindToAnchoredPosition<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L7](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L7)

## BindToAnchoredPositionX

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

```csharp
public static MotionHandle BindToAnchoredPositionX(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L12](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L12)

```csharp
public static MotionHandle BindToAnchoredPositionX<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L15](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L15)

## BindToAnchoredPositionY

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

```csharp
public static MotionHandle BindToAnchoredPositionY(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L25](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L25)

```csharp
public static MotionHandle BindToAnchoredPositionY<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L28](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L28)

## BindToAnchoredPosition3D

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

```csharp
public static MotionHandle BindToAnchoredPosition3D<TOptions, TAdapter>(this MotionBuilder<Vector3, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L38](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L38)

## BindToAnchoredPosition3DX

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

```csharp
public static MotionHandle BindToAnchoredPosition3DX(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L43](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L43)

```csharp
public static MotionHandle BindToAnchoredPosition3DX<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L46](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L46)

## BindToAnchoredPosition3DY

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

```csharp
public static MotionHandle BindToAnchoredPosition3DY(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L56](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L56)

```csharp
public static MotionHandle BindToAnchoredPosition3DY<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L59](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L59)

## BindToAnchoredPosition3DZ

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

```csharp
public static MotionHandle BindToAnchoredPosition3DZ(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L69](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L69)

```csharp
public static MotionHandle BindToAnchoredPosition3DZ<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L72](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L72)

## BindToAnchorMin

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

```csharp
public static MotionHandle BindToAnchorMin<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L82](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L82)

## BindToAnchorMax

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

```csharp
public static MotionHandle BindToAnchorMax<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L87](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L87)

## BindToSizeDelta

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

```csharp
public static MotionHandle BindToSizeDelta<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L92](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L92)

## BindToSizeDeltaX

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

```csharp
public static MotionHandle BindToSizeDeltaX(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L97](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L97)

```csharp
public static MotionHandle BindToSizeDeltaX<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L100](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L100)

## BindToSizeDeltaY

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

```csharp
public static MotionHandle BindToSizeDeltaY(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L110](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L110)

```csharp
public static MotionHandle BindToSizeDeltaY<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L113](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L113)

## BindToPivot

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

```csharp
public static MotionHandle BindToPivot<TOptions, TAdapter>(this MotionBuilder<Vector2, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L123](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L123)

## BindToPivotX

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

```csharp
public static MotionHandle BindToPivotX(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L128](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L128)

```csharp
public static MotionHandle BindToPivotX<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L131](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L131)

## BindToPivotY

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

```csharp
public static MotionHandle BindToPivotY(this FloatMotionBuilder builder, RectTransform rectTransform)
```

Parameters and return value

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

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L141](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L141)

```csharp
public static MotionHandle BindToPivotY<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, RectTransform rectTransform)
    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.
- `rectTransform` (`RectTransform`) Target RectTransform that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs · L144](../../../source/Runtime/Bindings/UGUI/RectTransformMotionExtensions.cs.html#L144)
