# IMotionScheduler

Accept a builder by reference and return its scheduled handle. MotionWorld implements this contract.

Namespace: MeatMotion

Assembly: MeatMotion

```csharp
public interface IMotionScheduler
```

[Runtime/Scheduling/MotionScheduler.cs · L5](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L5)

## Schedule

Schedule the supplied builder and return the handle controlling the motion.

```csharp
MotionHandle Schedule<TValue, TOptions, TAdapter>(ref MotionBuilder<TValue, TOptions, TAdapter> builder)
    where TValue : unmanaged
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<TValue, TOptions>
```

Parameters and return value

- `builder` (`ref MotionBuilder<TValue, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- Returns: `MotionHandle`

[Runtime/Scheduling/MotionScheduler.cs · L7](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L7)
