Some way to drag from a plugin widget into the workspace (like the toolbox)

20220208_144210_325_RobloxStudioBeta
I’m working on a custom map system and I can’t seem to find a way to drag objects into the workspace. The main window stops getting UserInputService events for the mouse once any type of drag begins, and there doesn’t seem to be a way to intercept plugin:StartDrag unless it’s for other custom widgets. The toolbox can do this, but only because the workspace window is hardcoded specifically for it.

At the very least it would be helpful to get UserInputService events for what’s underneath while dragging. I could put the menu in CoreGui to cover the viewport, but that doesn’t seem like the right thing to do. The objects are stored using a custom binary chunk format so I need custom tools. I wouldn’t mind creating a custom widget specifically for editing the map, but ViewportFrames don’t have full lighting/terrain features and don’t work with adornments as far as I know.

I spent a lot of time developing this object system and transformation tools only to be hit with this random hurdle.

4 Likes