Cheat Sheet
Fusion Expression Reference
A searchable, categorized reference of DaVinci Resolve Fusion expressions. Set your node name once and it drops into every expression automatically — then tap any snippet to copy it.
Composition Settings
8References the current frame of the composition
References the first frame of the composition
References the last frame of the composition
Returns the composition's width in pixels
Returns the composition's height in pixels
Returns the composition's frame rate
Width / Height
Returns the aspect of the composition
Height / Width
Returns the inverted aspect of the composition
Math
12Returns the lowest value, add as many inputs as you want
Returns the highest value, add as many inputs as you want
Always returns a positive value
Always rounds the number down
Always rounds the number up
Returns the sine of the input
Returns the cosine of the input
Returns the tangent of the input
Returns the square root of the input
Returns the input to the power of 2
Picks a random value between x and y (only outputs whole numbers)
Returns the value of pi
Logic
2Returns X if statement is true, else Y
iif(condition, valueIfTrue, valueIfFalse)
Returns X if statement is true, else Y
condition and valueIfTrue or valueIfFalse
Node Outputs
8Returns the node's horizontal resolution in pixels
Returns the node's vertical resolution in pixels
References the left side of an image (uses DoD, outputs pixels)
References the bottom side of an image (uses DoD, outputs pixels)
References the right side of an image (uses DoD, outputs pixels)
References the top side of an image (uses DoD, outputs pixels)
Auto Calculate Width
Returns the width of a node using DoD, normalized 0–1
Auto Calculate Height
Returns the height of a node using DoD, normalized 0–1
Node Reference
6References a value in the same node as your expression
Returns the value of the control
Returns the X or Y value of a point control
Returns the value of the control
Returns the value of the control at a specific time
Returns the X or Y value of a point control
Text
5Returns the text as a string
Merges multiple strings together
Outputs the text as a string
Merges text with expressions
Returns the length of a string
Character counter
Build a character counter
Pick what to count — the expression updates live. NodeName is filled in by the node name input at the top of the page.
Returns the number of letters (not including spaces).
Keep the _,at the start — it throws away gsub's edited string so you're left with just the count. You can rename the variables, but deleting _, makes gsub strip the pattern from your text instead of counting it.