Help with character moving to where u click

I’m trying to make a system where you click a character and they go to where u click the second time how would I do this??
Here is what I mean

Uploading: 23D2AD55-DECD-4587-A192-211711A78F27.mov…

I don’t know of any syntax for this but I also don’t know a lot of syntax anyway
Help is appreciated tysm in advance

Hey, you could look into raycasting the mouses position to the baseplate of the a vector limiter. After getting a position that the raycast touches a part you can get the players character and then the humanoid and use the :MoveTo() function of the humanoid class to move that position that was found by the raycast.

how would I know that the character is being clicked and then clicking again to get the position