Unable To Use Mouse In Editor To Move Camera

Hello, for some reason in the Unity editor I am unable to use my mouse to move my camera, but it works in a windows build. (script for reference using System.Collections.Generic;using UnityEngine;using UnityEngine.InputSy - Pastebin.com). As you can see in the video, for some reason when I use my mouse to try to move the camera in the editor, it does not work, but my ps4 controller does. The keyboard works to move my mouse and it works fine. For some reason unity disables my mouse in Input Debugger but I tried forcing that to enabled as yo can see in the video and same results but this is likely part of my problem. Once I go into a build of the game, then my mouse works fine to move my camera although I have my sensitivity set very high. Any ideas whats going on here? (I have also tried using the old input system and I may have set it up wrong but it didint seem to work either, I have done it before many times but just cant get it to work this time).