Struct AnimationSequenceControls
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Imperative controls for a sequence started by UseAnimationSequence(IReadOnlyList<AnimationSequenceStep>, bool, bool, object?[]?).
public readonly struct AnimationSequenceControls
Properties
- Pause
Freezes the cursor at its current step — elapsed time stops accumulating toward the next hold.
- Play
Resumes advancing (idempotent). Also what
autoplay: truestarts with on mount.
- Restart
Returns to step 0 and re-commits its effect (firing a
Callstep 0's callback again). Does not implicitly unpause.