I'm a beginner AI user and what I'm trying to do is to make a gradient follow a path on a specific shape. This is the shape, I want to fade it from the line to the end of the loop:
The shade would simply be from white to transparent and it should start fading from the red line to the end of the loop.
If I simply apply the gradient to fill the shape it goes from left to right at whatever angle is given, but I want it to follow that specific path. I already found this question but I don't have an actual inner path, it's more of a shape filled with white and with no stroke.
Is there a way to do so?
Thank you for the help, have a good day.