Add Gradient

This is called a distance field and it is typically done by running the mask through the jump flood algorithm, lots of videos on youtube about doing this in Unreal. Here’s one: