I would like to know if it is possible to detect where someone clicked , and if it is possible then I would like to know how
Yes, it is.
1 | --Assuming this is a local script inside of StarterGui |
2 |
3 | local player = game.Players.LocalPlayer |
4 | local mouse = player:GetMouse() |
5 |
6 | mouse.Button 1 Down:connect( function () |
7 | print (mouse.Hit.p) --mouse.Hit.p returns the position of the mouse |
8 | end ) |
No, it is impossible to detect when someone has click.