How can I click on my screen and make it relative to the corresponding axis on a path follow in 3d space?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Mathewgarciaz

Going to try to break this down as simple as possible.
I have a spawning area
I have a 2d UI with a color rectangle
I want to be able to click on the color rectangle but the coordinates to equal the corresponding axis shown. ex: UI will say x-axis, y-axis, z-axis, etc.
when you click on the rectangle it will also leave a marker during the time you clicked it at (this is a rhythm game so if the song time == time to spawn the obj itll appear and you can edit it)
if you click on the following axes you’d be editing that axes for that TARGET. So if you click x-axis, it would be x-axis of the real 3d world space. But i need to make sure im within the bounds of my spawning area. Get it?
If any questions please feel free to ask. I can also provide video footage of what I want to happen. Kinda.

No one? Please this is frustrating

Mathewgarciaz | 2021-07-06 14:02