So I’m working on a custom output console for fun, and to add support for some stuff I need to know from what side I’m resizing on (resizing at top → down or up, resizing at bottom → down or up etc).
Problem is, though, whenever I tried using plugin:GetMouse(), it’s X and Y parameters wouldn’t update whenever the mouse entered the plugin gui.
I was thinking of a combination of plugin:GetMouse(), MouseEnter/Leave and GetRelativeMousePosition(), but I’m unsure how I’d implement these functions to always know the mouse’s absolute position.
Any help would be appreciated, thanks!