SideScroller Movements

I am working on a game and I am trying to make a SideScroller Game with the ability to toggle to Firstperson. I am able to switch the camera right now but i can’t figure out how to toggle the controls and make it so when i toggle to first person i can look around with the mouse and use W,A,S, and D to move around. Is this possible? If so how?