iceedfr
(King)
October 2, 2023, 6:23pm
#1
yieldingTween(script.Parent.Parent.ImageLabel, 0.3, {Size = UDim2.new({0.75, 0},{0.75, 0})})
yieldingTween(script.Parent.Parent.ImageLabel, 0.3, {Size = UDim2.new({0.95, 0},{0.95, 0})})
The image size is:
But the image is just shrinking into nothningness when made smaller then back to this size: does anyone know how i can fix this so it shrinks then grows back
You need to use UDim2.new(0,75,0,75)
instead of UDim2.new({0.75, 0},{0.75, 0})
Replace your last 2 lines of code with that :
yieldingTween(script.Parent.Parent.ImageLabel, 0.3, {Size = UDim2.new(0,75,0,75)})
yieldingTween(script.Parent.Parent.ImageLabel, 0.3, {Size = UDim2.new(0,95,0,75)})
Sorry, I just inverted the side, the real code is that :
yieldingTween(script.Parent.Parent.ImageLabel, 0.3, {Size = UDim2.new(0.75,0,0.75,0)})
yieldingTween(script.Parent.Parent.ImageLabel, 0.3, {Size = UDim2.new(0.95,0,0.75,0)})
iceedfr
(King)
October 2, 2023, 6:59pm
#4
Thanks for the help, totally forgot about that
system
(system)
Closed
October 16, 2023, 6:59pm
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.