How can I make camera automatically change its location ,so that it would adjust to the models of different size?

well, I guess that’s not important.
I have used it in actor class, level blueprint, controller, all press keyboard event is not firing.Mousebutton is not firing too.
Different script in different place.only happen in this particular project.