How to do this?

Hi. I want to when you click or hover mouse, it moves the position of a part, with easing or tweening. My code is not working.
local TweenService = game:GetService(“TweenService”)

local Mouse = script.Parent

local part = script.Parent.Parent

local goal = {}

goal.Position = Vector3.new(1000, 21.929, -169.428)

local tweenInfo = TweenInfo.new(5,Enum.EasingStyle.Quint,Enum.EasingDirection.Out,0,false,0)

Mouse.MouseHoverEnter:Connect(function()

local tween = TweenService:Create(part, tweenInfo, goal)

tween:Play()

end)

You are referencing the goal table and not goal.Position.

Code
local TweenService = game:GetService(“TweenService”)
local Mouse = script.Parent
local part = script.Parent.Parent
local goal = {}
goal.Position = Vector3.new(1000, 21.929, -169.428)
local tweenInfo = TweenInfo.new(5,Enum.EasingStyle.Quint,Enum.EasingDirection.Out,0,false,0)
Mouse.MouseHoverEnter:Connect(function()
local tween = TweenService:Create(part, tweenInfo, goal.Position)
tween:Play()
end)

set the goal.Position to the mouse position like this.

goal.Position = Mouse.Hit.Position
local tweens = game:GetService("TweenService")
local players = game:GetService("Players")
local player = players.LocalPlayer
local mouse = player:GetMouse()

local part = Instance.new("Part")
part.Anchored = true
part.Parent = workspace

mouse.TargetFilter = part

mouse.Move:Connect(function()
	local tween = tweens:Create(part, TweenInfo.new(0.5, Enum.EasingStyle.Linear), {Position = mouse.Hit.Position})
	tween:Play()
end)

I assume you want a part to follow the mouse.