Currently, as a Roblox Developer, it is impossible to make PluginGui objects that cant be docked.
If I wanted to make a
MessageBox prompt using the current
DockWidget class, for example, currently, the user can
- Resize it, which the prompt may not be able to handle.
- Dock it in one of the panels, defeating the point of a prompt.
This also doesn’t mention how these settings are saved so if the user drags it into a dock container, it will remain there for any future prompts with the same PluginGui ID.
The ability to create floating PluginGuis already exists in Studio through the internal
However, this class can also be made in a way where the user cant dismiss it with the
Modal key, I believe it would be better to not implement this specific feature as it can easily be abused.
If Roblox were to address this issue, it would allow me to create prompts from PluginGuis without developers being able to destroy them by docking or resizing it.