How do I fit a curved line inside a circle in Figma?

I am trying to animate a loader where I must use a curve line inside a circle in order to make it appear as if the wave is moving inside a circle. My problem is that I am unable to cut the wave which crosses the circle’s boundary. How to do so?
Here is a screenshot. If someone could help me, It will be really helpful.

Duplicate the circle and use it as a mask for the line.

1 Like

Thank @tank666 you, but I tried doing that. Didn’t work, may be I am missing something. Could you refer to some videos for help?

1 Like