How do I get the mouse's position in UDim2 value?

Hello. Lately I’ve seen many Roblox games get the player’s mouse position in UDim2 value and then appearing a User Interface in the same position, etc. I’m really interested to understand this topic, as far as I looked for anything I couldn’t find anything; no explanations, etc. Can please someone tell me how do I get the mouse’s position in UDim2 value?

Thanks,
XDvvvDX.

3 Likes

This topic may help you:

5 Likes

Hello. Thank you so much for answering my question, it was what I was looking for.
I’m sorry for not explaining my self well, next time I will try to do it better.

Thanks,
XDvvvDX.

1 Like

No Problem!, I didnt really know how to do that but I knew there was a tutorial.

2 Likes