Hey developers. I’m making a plugin, and I want to make a set-up similar to this plugin below.
Basically you click the button, and a menu, with more buttons appear. This appears to use Widgets in my best guess, but how would I go about making something like this (what widget to use, to what position it etc.)? and position the widget if the button is in different locations. Any and all help is much appreciated as I work in understand Widgets!
The particular plugin you are showcasing doesn’t actually handle that themselves. It is Roblox ‘compressing’ all of the buttons into a drop down menu, due to there being too many items in your plugin selector thing.
When you have less plugins activated, it will appear like this
Hi there,
I believe I’ve figured out how “Autoscale Lite” and other plugins achieve the effect you are going for. Instead of creating one button in their script, they create multiple buttons (each being an item they want in their drop down menu). Here’s a quick example of how they do it:
local toolbar = plugin:CreateToolbar([[Replace with overall plugin name]])
local button1 = toolbar:CreateButton([[Replace with button params]])
local button2 = toolbar:CreateButton([[Replace with button params]])
You’ll notice that the drop down option only appears when you have a certain amount of other plugins.