I’ve been trying to achieve something that is out of my reach, as I don’t know how to approach this problem.
You spawn with a huge circle, that is the range where you can create the orange circle. However, I want to make a system where when you click outside of your range, the organge circle still is inside your range using mathematics. This is what I’m trying to achieve.
Example 1 is when you click outside of your range, the oragne circle gets created outside of your range.
Should turn into this
Example 2, the orange circle gets automatically put inside your range as seen in the pictures.
If you know how I can go around it, it would help me a lot!