Top to bottom gradient Help!

I’m new to blueprinting and can’t figure out how to make a gradient material that has one color at the bottom and another color at the top.
I made a mask that gets me what i want but it doesn’t show on my mesh correctly because of the uv unwrapping. I wanted it to follow world position instead so the material is smoothly transitioning from one color to the next.
How would I go about doing this?
Heres what I have:

I helped someone with this a while back, thankfully, I managed to dig up the screenshots for it. It will auto scale the gradient to the mesh size.