Table of Contents

Class AnimateControls

Namespace
Velvet
Assembly
Velvet.Docs.dll

A running animation or sequence from Animator: Framer Motion's animation controls.

public sealed class AnimateControls
Inheritance
object
AnimateControls

Properties

Finished

Completes when the animation finishes, and is canceled if it is stopped first (Framer's then).

IsFinished

True once every value has reached its last keyframe.

IsPaused

Whether Pause() holds it.

IsStopped

True once Stop() or Cancel() ended it, or its scope unmounted.

Speed

The rate time passes at: 1 by default, 0 holds the animation as a pause does. A negative, NaN or infinite value throws.

TimeSec

Seconds into the timeline.

Methods

Cancel()

Ends the animation and puts each value it began back to where it started.

Pause()

Holds the animation where it is.

Play()

Resumes after Pause().

Stop()

Ends the animation where it is, leaving each value at what it shows.

Then(Action)

Runs callback when the animation finishes, at once if it has.