I have doubt setting the correct camera position after i change the planes position

It’s really a bit hard to understand what you mean… Once, for another question, I made an example [probably] with something similar to what you’re talking about. Raycaster is used instead of buttons, but I don’t think that matters in the context of your question. If this is not what you are talking about, it would be good if you could send some code for us to examine…