カメラの移動のフラグ作って、

update(){
if(!cameraフラグ)return;