I’m attempting to get the Mouse while using a Dockable Widget Plugin, but apparently :GetMouse() Can’t be used with dockable widget plugins.
Anyone know how I would get the mouse?
I’m attempting to get the Mouse while using a Dockable Widget Plugin, but apparently :GetMouse() Can’t be used with dockable widget plugins.
Anyone know how I would get the mouse?
UserInputService is what you should be using. Its got everything you need.
I made an open-source mouse-emulating library on GitHub that purely uses UserInputService. Lmk if you have any issues, I’m a bad debugger lmao: GitHub.com/EmeraldSlash/RbxMouse
This is a problem I haven’t solved yet but I know it’s coming in my near future. 
The tack I’m planning to take is to create a full-sized frame at the bottom-most Z index which is transparent & “Active”. Then I can listen for InputChanged events on that to detect when the mouse moves.
If you are feeling adventurous, you can try that and report your results. Otherwise, you’ll be waiting a few weeks for me to try it and report my results. 
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.