How To Disable Camera Input On Player Movement?

I have an issue with a target lock on enemy when getting the world location from my camera and then locking onto an enemy, whenever i move while locked on the enemy, the camera snaps for a short period of time before returning. Could anyone tell me what is wrong with my blueprint?


^This is the logic i use to set my camera rotation which works fine until i use movement as shown in the video below.

If your camera is attached to the player via a spring arm component you may need to detach or modify its settings in your code