How does mouse tracking work with plugins

I made a plugin as an actual script but its a local script. So i must ask, How do plugins handle mouse input? do i just put it in a serverscript do i have a remote event or do just localscripts work?

There’s a special PluginMouse class specifically for working with plugins. You can call plugin:GetMouse() from a server script running as a plugin script. So you don’t use LocalScripts at all when making plugins. No RemoteEvents either.

1 Like