So I have a box frame and I'm trying to make it close within it's "True" center point.
local Main = script.Parent
local MapGui = Main:WaitForChild("MapGUI")
local offset = Vector3.new(0, 0, 5)
local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut)
local CloseTween = TweenService:Create(MapGui, tweenInfo, {Size = UDim2.new(0,0,0,0)})
local OpenTween = TweenService:Create(MapGui, tweenInfo, {Size = UDim2.new(0.74, 0,0.814, 0)})
whenever I call the CloseTween function, it always zooms into the corner before disappearing, but I want it to zoom into the center as it disappears. Is that possible? I've tried to look it up but haven't found anything useful.
