How to position a surface gui on a mouse's position

how to position a surface gui on a mouse’s position

If you mean in Studio, then you can’t. Otherwise you’d have to make a plugin for that.
Otherwise, you also need a script.

i mean ingame
im trying to make a holo sight

ACS has something like that