difficulty with the camera

my camera is not trying to follow the character, there are times when the senario moves together

Maybe you need to use camera limits


Seta the camera on the object you want to follow and set the limits, normally starts at 0,0