How to make mouse move camera without holding right click?

Im working on a 3rd Person camera system and im wondering how I can make my script move towards the direction I move my mouse to without holding right click, I want it so I can just move my mouse and it would simulate me holding right click.

If you need code

local function CameraUpdate()
	local Char = plr.Character;
	if (Char) then
		local Head = Char.Head;
		if (Head) then
			UIS.MouseBehavior = Enum.MouseBehavior.LockCenter;
			UserSettings().GameSettings.RotationType = Enum.RotationType.CameraRelative;
		end
	end
end
1 Like

I changed search keywords and found this

2 Likes