How do I turn this from a static to a dynamic main menu camera?

local Player = game.Players.LocalPlayer
local CamPart = workspace:WaitForChild("CamPart")
local Camera = workspace.Camera

local Mouse = Player:GetMouse()

Camera.CameraSubject = CamPart
Camera.CFrame = CamPart.CFrame
Camera.CameraType = Enum.CameraType.Custom

game:GetService("RunService").RenderStepped:Connect(function()
	Camera.CFrame = CamPart.CFrame
end)

This is my current code, it’s a camera that’s locked to a part and I was wondering if I could turn this into something more lively, like the camera moving with the cursor
I find it hard to explain, I want it to be sort of like how SlendyTubbies 2 did it
Slendytubbies 2 Main Menu - YouTube apologies for the lag, not my video

Help with camera move to mouse pos - Help and Feedback / Scripting Support - Developer Forum | Roblox