local context = game:GetService("ContextActionService") moving = false context:BindAction("CameraMovement", function(_,_,input) if input.Delta.X == 0 and input.Delta.Y == 0 then moving = false else moving = true end end, false, Enum.UserInputType.MouseMovement) while task.wait(0.1) do print(moving) end