TweenService says property "Position" doesn't exist for a Frame

So I’m trying to make an exit tween for a UI, and every time I want to change the position of a Frame, it says the property doesn’t exist, although the property does exist when viewing the properties tab. I’ve looked on a few forums and have even tried :TweenPosition() but nothing has worked so far. It errors for both frames.

It was a typo.

The error I keep getting:

Pathways (with the script highlighted):
image

This is the part of the server script that keeps erroring:

close.MouseButton1Click:Connect(function()
	local a = ts:Create(script.Parent, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), {Positon = UDim2.new(2.255, 0, 0.255, 0)})
	local b = ts:Create(script.Parent.Parent.Backframe, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), {Positon = UDim2.new(2.25, 0, 0.25, 0)})
	
	a:Play()
	b:Play()
	
	b.Completed:Wait()
	
	script.Parent.Visible, script.Parent.Parent.Backframe.Visible = false, false
	script.Parent.Parent.Enabled = false
end)

Did you mean “Position” :face_with_raised_eyebrow:

1 Like

this is what happens when i code too late :sob: tysm

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.