Skip to content
VIDEOMONTAZHERDAVINCI RESOLVE · VIDEO · AI

FUSION · Expressions

Delay: read a value at another frame

GetValue, following copies, and the difference between phase shifts and reading keyed animation.

Fusion / DaVinci Resolve 20–21

After this lesson

  • Read another tool’s animation at a specified frame.
  • Avoid accumulating unintended delay in a chain.
  • Check behavior before the first key.

Before you start

Composition
A separate Fusion Composition. 1920×1080, square pixels, 25 fps.
Parameter
Transform2 → Angle
Range
Start at comp.RenderStart. Reference frames are local unless stated otherwise.

For your own sine wave, subtracting a time delay is enough. When the source already has keyframes, read its actual value at another frame to preserve the original curve.

GetValue with an explicit time

The following expression reads Angle from Transform1 twelve frames earlier. The colon is part of the method call; Angle is the quoted internal input identifier.

SIMPLE EXPRESSION · FUSION
Transform1:GetValue("Angle", time - 12)

The sign of the delay

time - 12 makes the follower lag: it displays the source’s past value now. time + 12 looks ahead. Use a negative time offset for following rather than guessing changes to motion direction.

The result before the first key and after the last depends on source extrapolation. Check the clip start separately: GetValue does not automatically hide the object before the first key.

Independent branches instead of a chain

For several copies, use delays 8, 16 and 24 relative to one driver. A chain where each reads the previous follower is harder to debug and can accumulate unintended delay.

Two sequential Transform nodes modify the same image in series. Two objects need independent branches, then compositing through Merge. Distinguish the image structure from control-value dependencies.

A value at another frame, not a copied animation

Transform1:GetValue("Angle", time−12) requests Angle from the driver at an earlier time. The follower does not receive its own keys. Editing the driver curve changes all requests to it, including the follower’s future frames. The colon in GetValue is part of the method call; do not replace it with a dot.

This request suits numeric input animation. It does not transfer the previous frame’s image or create video trails. Pixel time shifts need time-processing tools; a dependent Angle needs a parameter-value request.

What happens before the first key?

At the composition start, a follower delayed by 12 requests the driver twelve frames before the start. The result depends on the driver and its curve behavior outside the keyed range. Define and check an initial state rather than assuming the first frame is invisible.

To postpone motion without reading before the start, clamp the requested time to at least comp.RenderStart. This changes the behavior: the follower holds the first state until it begins. Compare both variants on a copy, especially for looping driver animation or keys that do not start at the composition boundary.

SIMPLE EXPRESSION · FUSION
Transform1:GetValue("Angle", math.max(comp.RenderStart, time - 12))

Parameters and ranges

ParameterWhat it changesExample / check
Transform1Animation source.It must not depend on Transform2.
"Angle"String ID of the input being read.Name and letter case matter.
time−12Reads twelve frames earlier.The follower visually lags.
time+12Reads a future value.The follower leads the source.

USE IN A COMPOSITION

Build it in Fusion

Transform2 → Angle

FUSION / FLOWTwo image branches · one dependency
100%
ImageControl in the InspectorScroll or drag the graph. Choose “Fit” to see all of it.
Solid lines are node connections in the Flow. A dashed line is a parameter dependency configured in the Inspector. A solid arrow's color matches its destination input. Modifiers are shown separately from the Flow.Text1.Output → Transform1.InputText2.Output → Transform2.InputTransform1.Output → Merge1.BackgroundTransform2.Output → Merge1.ForegroundMerge1.Output → MediaOut1.InputTransform1.Angle → control.Sourcecontrol.Value → Transform2.AngleText1 · Image node · FlowT+Text1Text+Transform1 · Image node · FlowƒTransform1TransformAngleAngle · an Inspector parameter, not an image portGetValue · t − 12 · Expression · InspectorEXPRESSIONGetValue · t − 12Simple ExpressionText2 · Image node · FlowT+Text2Text+Transform2 · Image node · FlowƒTransform2TransformAngleAngle · an Inspector parameter, not an image portMerge1 · Image node · Flow⊕Merge1MergeMediaOut1 · Image node · Flow↗MediaOut1MediaOut
ImageBackgroundForegroundParameter · Inspector
Select a node or a colored arrow

Solid lines are node connections in the Flow. A dashed line is a parameter dependency configured in the Inspector.

Connections by port and parameter7

Color is determined by the destination input. Dashed connections are configured in the Inspector; they do not add an RGBA wire to the Flow.

Reads a parameter value, not a previous image frame.

Assembly steps

  1. Create separate Text+→Transform branches without putting the Transforms in series. Composite them through Merge.
  2. Name the driver Transform1 and follower Transform2. Set the driver Angle to 0 at local frame 0 and 90 at frame 30.
  3. For the first comparison, open Spline and make the driver Angle linear over 0…30. After verification, reshape the curve; the follower repeats it with the delay.
  4. Enable Expression on Transform2 Angle and paste GetValue with a delay of 12.
  5. Compare driver frame 0 with follower frame 12, and driver frame 30 with follower frame 42.
  6. Return to the range start. Decide whether to hold the first state using math.max.
  7. Change the final driver angle to 120°. The follower should show 120° at 42 without receiving its own keys.
SIMPLE EXPRESSION · FUSION
Transform1:GetValue("Angle", time - 12)

Expected result. The follower repeats the shape of the keyed animation twelve frames later.

Checkpoints

When / what to checkExpectedWhy check it
Driver: 0° at 0, 90° at 30; follower at 120°Reads driver frame 0.
Follower at 4290°Reads driver frame 30.
Follower at 0Initial hold or pre-key behaviorDepends on the chosen clamping variant.

INTERACTIVE EXAMPLE

Change a parameter. Compare the result.

EXPRESSION · INTERACTIVE EXAMPLE

The follower reads the leader's earlier value

CONTROLLED PARAMETERTransform2 → Angle
0 f← → one frame at a time25 fps
VALUE GRAPH
LeaderFollower
-10.845100.80 f45 f90 f
Select a point on the graph to go to that frame. Values are checked throughout the range.

The leader has a linear rotation from 0° → 90° over 30 frames. The follower reads the same curve at a different frame and holds the initial pose before the start.

OUTPUT VALUE24° · sampled frame 8
CHECK THE ORIGINAL EXAMPLE

With a 12-frame delay, the follower at frame 12 matches the leader at 0, and at 42 it matches the leader at 30. Change the final angle: both branches update.

In Spline, select linear interpolation for the leader. To match this example, use the guarded formula below.

Formula for the current settings +
Transform2 → Angle
Transform1:GetValue("Angle", math.max(comp.RenderStart, time - 12))

Linear keys and a math.max read clamp are used for comparison. In Fusion, GetValue follows the leader's actual curve, including its easing.

Errors and troubleshooting

The copy rotates more than expected

Check whether two Transforms sit sequentially on the same image branch.

An unexpected angle is visible at the start

Check the source value before its first key and control visibility separately if necessary.

Independent exercise

Add a second copy delayed by 24 frames without chaining followers.

Show the solution and explanation

Use Transform1:GetValue("Angle", time - 24) on the second copy, referencing the driver Transform1 directly.

Continue learning

Official sources

Blackmagic Design · Fusion Reference ManualThe chapter “Using Modifiers, Expressions, and Custom Controls”. Page numbers depend on the PDF edition.
Blackmagic Design · Modifiers referenceThe Modifiers section. Available commands depend on the input type and Fusion version.

An original educational walkthrough. The browser model explains the principle but does not run Fusion. Control placement depends on the version; save the original composition before replacing a parameter's control source.