local NowDelta = UIS:GetMouseDelta()
if LastDelta == UIS:GetMouseDelta() then
NowDelta = Vector2.new()
end
local Sens = UserSettings().GameSettings.MouseSensitivity/10
if UIS.TouchEnabled then
Sens *= 5
end
local Delta = NowDelta * Sens
Rotation = Vector2.new(Rotation.X + Delta.X,math.clamp(Rotation.Y + Delta.Y,-85,85))
This is my code for moving the camera, but when you use the movement pad on mobile the camera moves with it, i have no idea how to check for this