How to dynamically set an overlay material opacity based on a parameter?

Hi @Rados1,

You’re looking for a Local Space Gradient

This mask is set as a direct relation to object height in Unreal Units. Because of this, If you combine it with an Object Bounds node, you can get a consistent 0-1 gradient over the object’s height.

Now if you need to add a gradient, that’s where things get a little tricky. Let me know if you need help sorting that out.