Skip to content

Class · inherits Mouse

PluginMouse

Official docs ↗

The PluginMouse object gives Plugins access to the mouse. It works like the Mouse object and can be obtained using the plugin Plugin.GetMouse method.

About PluginMouse

The PluginMouse object gives Plugins access to the mouse. It works like the Mouse object and can be obtained using the plugin Plugin.GetMouse method.

Note the PluginMouse can only be used when the plugin has been activated using Plugin.Activate.

In addition to the functions from the Mouse object, the PluginMouse includes the PluginMouse.DragEnter function which keeps track of items being selected while the mouse is dragging.

For more information on how to use mouse objects, see the Mouse page.

Events 1

  • DragEnterPluginMouse.DragEnter:Connect(function(instances))PluginFired when Instances are being selected while the mouse is dragging.

PluginMouse also has every member of Mouse. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.