Derma screen DButton & DCheckBox

So i want to make it so when u check a box, it will make a button visable
but i have no idea how to do that

(New to coding)

like : when u check the checkbox, it will make the button visable and u can exit the panel please help

When your DButton is created, call

Panel:SetVisible false to make it invisible at first.

Then override your DCheckBox’s

DCheckBox:OnChange (look at the example) to call SetVisible on the button again, but this time to true

thank you <3