Hierarchy

  • PBTween

Properties

currentTime?: number

between 0 and 1

duration: number

in milliseconds

easingFunction: EasingFunction
mode?: {
    $case: "move";
    move: Move;
} | {
    $case: "rotate";
    rotate: Rotate;
} | {
    $case: "scale";
    scale: Scale;
}
playing?: boolean

default true (pause or running)