Introducing v3 — a new editor, faster engine, and more.

See what's new
Resources
Using the design editor 13:47

Dynamic prop mapping

One of the most powerful features of Shaders. Map the output of one layer into the prop of another, follow the cursor, or animate props entirely automatically.

Dynamic Props allow shader properties to respond automatically to user input or animation. In this lesson, we'll explore how to make components react to cursor movement, create smooth animations, and build interactive effects without writing any code.

What's covered in this lesson

  • Converting static properties into dynamic props
  • Mapping cursor position to component properties
  • Using automatic animations for continuously changing values
  • Configuring minimum and maximum value ranges
  • Adjusting response curves
  • Adding smoothing for more natural motion
  • Using momentum to create spring-like interactions
  • Combining multiple dynamic props to build richer interactions

Key concept

Almost any property in Shaders can become dynamic. By mapping values to cursor movement or automatic animation, you can create interactive, responsive effects that feel polished while remaining entirely visual to configure.

Next steps

Now that your compositions can react and animate, we'll look at bringing your own media into the editor, including images, videos, and SVG files, and placing it precisely with transformations.

Custom media and transformations

Next lesson

Custom media and transformations

08:44