Issue with click detection in plugins

How would I check where the player clicked on the map in Studio? Not in play test. I’m trying to make a Bezier Curve to outline maps, but I need to figure out where the player clicked to insert a part. Thanks in advance!

Do you mean to check what parts the user has selected:

Kind of, I’m looking more for the position of the click.

Use the PluginMouse. I think it’s plugin:GetMouse()