Roblox UtilitiesDevlHub Roblox Documentation

Class

PluginMouse

NotCreatable
Inherits
Mouse › Instance › Object
Memory category
Instances

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.

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#

DragEnterFired when Instances are being selected while the mouse is dragging.PluginSecurity security

DragEnter(instances: Instances)#

PluginSecurity security

Fired when Instances are being selected while the mouse is dragging.

NameTypeDefaultDescription
instancesInstancesAn array of the Instances that were inserted into the 3D viewport by the drag-and-drop operation.

Inherited members#

Inherited from Mouse 25
Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed