I'm trying to figure out how to tween the size of my gui button so it smoothly encompasses the size of the screen, but tween seems to only shrink it.. do I need to be using a different method, or what?
Button = script.Parent
local click = false
Button.MouseButton1Click:connect(function()
if not click then
Button.Text = ""
Button:TweenSize(UDim2.new(0,0,0,0), "Out", "Quint", 0.3, "false")
click = true
end
end)
I've played around with the values, and nothing seems to enlarge it.

4 comments
0,0,0,0 makes it invisible
small as hell till it appears invisible. It actually isn't. It just dosen't have a dimension. as in. NO size
imagine and atom. can you see it? no right? 0 x 0 is smaller than an atom.
Yep, thank you. I tried that before and it didn't encompass the whole screen, but I figured I'd try tweening the position too and that did the trick.