Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why can't I get the Position from a frame?

Frame1:TweenPosition(UDim2.new(Frame2.Position), "InOut", "Quad", 0.6);

Hi :) For some reason, Frame1 is being sent to {0, 0, 0, 0} and I'm not sure why. Please help!

1 answer

Frame1:TweenPosition(Frame2.Position, "InOut", "Quad", 0.6)

or

local NewPosition = Frame2.Position
Frame1:TweenPosition(NewPosition, "InOut", "Quad", 0.6)

This discussion is preserved as it was. New answers, comments, and votes are closed.