PluginDragEvent¶
Provides information about an in-progress drag for the drag events that plugins can respond to.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
PluginDragEvent provides information about a drag-and-drop operation that a plugin can respond to. An instance of it is passed as the argument to the PluginGui drag events (PluginGui.PluginDragEntered, PluginGui.PluginDragMoved, PluginGui.PluginDragLeft, and PluginGui.PluginDragDropped) which fire as a drag started with Plugin.StartDrag() moves over, into, out of, or is released on a plugin widget.
It carries the Sender, MimeType, and Data originally supplied to Plugin.StartDrag(), along with the Position of the cursor within the widget receiving the drag.
Inheritance¶
Object โ Instance โ PluginDragEvent
Properties¶
| Member | Signature | Summary |
|---|---|---|
Data |
Data: string |
The data payload being transferred by the drag. |
MimeType |
MimeType: string |
The MIME type describing the format of the dragged data, such as text/plain. |
Position |
Position: Vector2 |
The position of the drag relative to the widget receiving it. |
Sender |
Sender: string |
A caller-defined string identifying the source of the drag. |
Roblox reference: PluginDragEvent
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.