This member cannot be used in scripts, but is usable in the command bar and plugins.
For thread safety, this property is not safe to read in an unsynchronized thread.
PluginDragEntered fires when the user’s mouse enters the
PluginGui during a drag operation started by
This event is useful for displaying a “Drop Here” UI on PluginGuis where a drag operation can be dropped. Such a UI should be hidden when either
articles/Drag and Drop in Studio Widgets
A copy of the data originally passed to
Plugin Drag and Drop
This code sample creates two plugin widget windows: a drag source and a drop target. In the source window, the script creates a
TextButton to allow the user to begin a plugin drag action. The drop target window will display the MimeType of whatever is dragged into it using a
TextLabel. If the MimeType is text/plain, it will display the plain text data instead. Pictured below is an animation of the drag and drop action.
To run this code sample as a plugin, paste it into a
Script. Then, right-click the script in the Explorer window and choose “Save as Local Plugin”.