Hi, trying to add on X axis for SurfaceGUI ImageLabel by doing this: image1.Position = image1.Position + UDim2.new(0,120,0,0)
But It keeps the ImageLabel position at 120 when clicked and doesn't add on 120 each time. Help please.
Hi, trying to add on X axis for SurfaceGUI ImageLabel by doing this: image1.Position = image1.Position + UDim2.new(0,120,0,0)
But It keeps the ImageLabel position at 120 when clicked and doesn't add on 120 each time. Help please.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I think there's nothing wrong with the line you've shown us, suggesting that other parts of the script might be at fault. Try using 'print' statements to confirm the values are what you expect -- ex, print(image1.Position) right before your increase to see what it is.