Problem with a sidebar

hi everybody: i’m trying to make a sidebar, although this is happening:

it simply doesnt do the mouseleave tween: i can’t do anything about it, i’ve added a frame hitbox thingy and nothing happens, it simply does the same thing:
here’s my code.

local sidebar = script.Parent

function open()
	sidebar:TweenSize(UDim2.new(0, 125, 0, 387), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.25, false)
end

function close()
	sidebar:TweenSize(UDim2.new(0, 56, 0, 387), Enum.EasingDirection.Out, Enum.EasingStyle.Quint, 0.25, false)
end

sidebar.MouseEnter:Connect(function()
	open()
end)

sidebar.MouseLeave:Connect(function()
	close()
end)

thank you! :happy1:

Does changing the last parameter in your Tweens from false to true fix the problem?

oh, that easily fixed it, thanks!