It's like you are at the arcade, and come across pop the lock. this is just a scratch remake. click or tap when the yellow circle is touching the red line. click or taps only count if you click or tap in the blue square or blue circle.
https://scratch.mit.edu/projects/808325800/ for motivation (I had the idea of making this and this project made me actually do it.)