I tried running that code:
script.Parent.MouseButton1Click:Connect(function() local x = script.Parent.Parent.Position.X script.Parent.Parent:TweenPosition(UDim2.new(x,0,.2,0),'Out','Quart',1) end)
(yes, the frame selected (line 2) is active and all its components) but it dosen't work? It just doesn't play, got any ideas?
Explorer: http://prntscr.com/rbqts3
It won't move because it's setting the position of X that it's already at. So if X = 0.5, then it will tween to 0.5, where it's already at. You have to manually put in the value you want it to tween to.