Okay title is confusing but I have a button to slide an inventory screen in. I set the GUI at position 1,0,.527,0 manually. Thats its place on my screen without scripts.
Now in my script I have this conditional statement to detect if its at its starting location:
if GUI.Position == UDim2.new(1,0,.527,0) then
and its not working so i printed its position manually, and even though im setting my gui’s position at 1,0,.527,0 manually, when i print its location from local script its {0.99999994, 0}, {0.527276039, 0}.
Like sorry sir your gui is actually at .99999994 not 1, so its not equal. I didn’t even set it at .99999994. Anyone know whats going on?