logo

Friction Quick Tip #8 - Property linking with expressions

time6 mo agoview12 views

In friction, you can use expression to copy property of another layer and make a "single property child". This is an equivalent of After Effect properties linking : https://youtu.be/4Nv3FXcXiBI

  • Set expression for child's property (here we are using translation for the example)
  • In Bindings section, get the parent property as a variable NamedVariable = ParentName.transform.translation.x
  • Return this variable in the Calculate section to use it as the new value return NamedVariable
  • Repeat that with both axis if needed
  • Child's property is now the same as the parent's, but it cannot be changed by the user anymore
  • To prevent that, you can use $value to get the user-defined value of the property, and add it to the parent's property in the Calculate section NamedVariable = ParentName.transform.translation.x CurrentValue = $value return NamedVariable + CurrentValue
  • Do it for both axis if needed, you should be able to control the child's property while it is still copying parent's property

Do you know friction ? It is an awesome open source 2d animation software, early stage, which could replace after effect

Unofficial discord https://discord.gg/FkjnM2r2JD Official page https://friction.graphics/

Loading comments...