Help on drop down Menu

i wanna make a drop down menu when u click the arrow buttons, but idk how start off

https://gyazo.com/6836e7f78d1e58ad20f6a109f1909287

1 Like

Start by writing some code and then posting it here to get help.

2 Likes

You can use :TweenSize to tween the size of the menu to appear like it’s dropping down

Something like this:

ButtonThing.MouseButton1Click:Connect(function()
    if not open then
        menu:TweenSize(UDim2.new(1, 0, 5, 0), "Out", "Quad", 0.1, true)
        for _, button in pairs(menu:GetChildren()) do
            if button:IsA("TextButton") then
                button.Visible = true
            end
        end
        open = true
    else
        menu:TweenSize(UDim2.new(1, 0, 0, 0), "Out", "Quad", 0.1, true)
        wait(0.0025)
        for _, button in pairs(menu:GetChildren()) do
            if button:IsA("TextButton") then
                button.Visible = false
            end
        end
        open = false
    end
end)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.