As the title indicates, im confused about when to use Visible = true/false or destroy() and clone() in uis to show or hide them.
1 Like
Hey there!
If you just want to make the UI’s element just go invisible or visible, then you should use the Visible
property.
If you want to destroy the UI’s element, then just call :Destroy()
on it.
If you need to clone the element just do local clonned = element:Clone()
. Don’t forget about that when you are apptempting to clone the element, you need to set it’s Parent
manually through script IE: clonned.Parent = someInstance
.
I hope this answer was helpful!
Have a nice day.
2 Likes