[SOLVED] Absolute Position Issue

Hello, I’ve been trying to get player’s relative mouse position to a gui object, but when I basically use formula mousePosition - button.AbsolutePosition, the following issue occurs:

robloxapp-20231202-1902259.wmv (411.6 KB)

External Media

Basically it doesn’t get to be where it’s supposed to.
Note: The AnchorPoint property of the button is 0.5,0.5.