How come when i run my project, the camera will still respond to me pressing the arrow keys and try to move around. Even though i have a function that controls the camera it makes it all jerky, and when i dont need the camera controlled cause theres no movement its still jerky.

this never used to happen to me in earlier versions. sometimes it doesnt happen, and i think i figured out what was wrong before, but now i dont know.

any ideas on how to stop this?