Unity tweens you can scrub like a timeline
MeatMotion builds tweens and sequences with a LitMotion-compatible API. Set Time on one handle and every child moves to that moment, forwards or backwards.

One chain builds the timeline above
Each child is an ordinary tween. Append plays it after the previous one, Join plays it alongside, and Insert places it at an absolute time without moving the cursor.
| Call | Time | Changes |
|---|---|---|
| Append | 0.00–1.00 s | Local X 0 → 5 |
| Join | 0.00–0.60 s | Alpha 0.2 → 1 |
| Insert | 0.75–1.50 s | Scale 1 → 0.4 |
| AppendInterval | 1.00–1.50 s | Wait |
| Append | 1.50–2.50 s | Local X 5 → 0 |
var sequence = MSequence.Create()
.Append(MMotion.Create(0f, 5f, 1f)
.BindToLocalPositionX(transform))
.Join(MMotion.Create(0.2f, 1f, 0.6f)
.BindToColorA(spriteRenderer))
.Insert(0.75f, MMotion.Create(1f, 0.4f, 0.75f)
.BindToLocalScaleX(transform))
.AppendInterval(0.5f)
.Append(MMotion.Create(5f, 0f, 1f)
.WithImmediateBind(false)
.BindToLocalPositionX(transform))
.Run();
sequence.Time = 1.25;
64,000 float tweens in 1.86 ms a frame
Whole-frame time with 64,000 float properties, median of three launches. MeatMotion had the lowest median in all 31 update workloads we compared.
| 64,000 float | 50,000 position | |
|---|---|---|
| MeatMotion | 6.000 | 4.617 |
| LitMotion | 12.905 | 13.821 |
| MyMotion | 13.869 | 17.386 |
| PrimeTween | 25.463 | 14.478 |
| DOTween | 33.276 | 15.857 |
| LeanTween | 23.311 | 13.142 |
| Unity Tweens | 45.523 | 31.131 |
Unity 6000.6.5f1, Windows x64 Mono player, Ryzen AI 9 HX 370. All workloads and conditions
Coming from LitMotion
Replace LMotion with MMotion and switch the namespaces. Extension calls such as BindToPosition keep their names. The 149 LitMotion 2.0.2 tests ported to MeatMotion pass.
-using LitMotion;
-using LitMotion.Extensions;
+using MeatMotion;
+using MeatMotion.Extensions;
-LMotion.Create(0f, 5f, 0.4f).BindToLocalPositionX(transform);
+MMotion.Create(0f, 5f, 0.4f).BindToLocalPositionX(transform);
Integrations
- Await and cancelasync methods, coroutines and UniTask wait for completion or cancellation
- Observe with R3R3 and UniRx turn a tween into an observable when the packages are installed
- Update phase and clocksPick a PlayerLoop phase, or advance a world by hand for replays and tests
Install
In the Package Manager, choose + → Install package from git URL and paste
https://github.com/Garume/MeatMotion.git?path=src/MeatMotion/Assets/MeatMotion