Move Button in a Quarter circle

Dear Community

I have a tricky problem. I would like to build a setup where the red dot follows the blue line. The ends of the blue line should serve as borders. (The point should only be able to move by 90 degrees).

I have looked at the templates of @josephxbrick and @mbc66 for circular sliders. However, my understanding of mathematics is not sufficient to reprogram them and adapt them to my needs.

Does anyone have any ideas?

Thanks for the help in advance.

SebastianHelp Drag on Line circle.rp (49.2 KB)

You can just use “Move” interaction with arc countercllockwise linear animate

see https://i12e4n.axshare.com/