# Change Camera Position

**URL:** <https://forum.babylonjs.com/t/change-camera-position/15213>\
**Category:** Questions\
**Created:** [October 27, 2020, 1:56pm UTC](https://forum.babylonjs.com/t/change-camera-position/15213 "2020-10-27T13:56:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ME\_me](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/me_me/32/11805_2.png) [@ME\_me](https://forum.babylonjs.com/u/ME_me)\
**Post date:** [October 27, 2020, 1:56pm UTC](https://forum.babylonjs.com/t/change-camera-position/15213/1 "2020-10-27T13:56:51Z")

</div>

Hi everyone, I’m new to babylonJS.

I have some problems that need your help. First of all, I apologize for some spelling/syntax errors in my “English”.

I start 😆  
I would like to move the camera by clicking on a mesh (or other if you have a more perfect idea) and have it rotate around the mesh with ArcCamera. And also I’ve created GUI buttons that allow you to access the mesh in question when you click on it.  
Here are the examples I’m trying to do:

- [https://petitegalerie.louvre.fr/visite-virtuelle/saison5/](https://petitegalerie.louvre.fr/visite-virtuelle/saison5/)
- [Dalí Museum 360](https://www.thedali.org/virtual-tour/)

So here’s what I have, to manage the movement of the camera at the position of the mesh clicked with:

- ActionManager: [https://playground.babylonjs.com/#U919B5#2](https://playground.babylonjs.com/#U919B5#2)
- and [Babylon.js Playground](https://playground.babylonjs.com/#0JEXDM) (which I took from this example: [https://www.babylonjs-playground.com/#DXE1CV#1](https://www.babylonjs-playground.com/#DXE1CV#1)) where I just added GUI buttons and some simple modifications for my experience.

Problems:

- My GUI buttons don’t work!?? 😥 , just clicks directly on my spheres work.

- After clicking on my sphere, I want to see all the objects around it but after some tests we can see that the camera is no longer fixed on our sphere (I don’t want the camera to get the position of the clicked mesh and that it is an ArcCamera).

- If we click on the farthest sphere (the sphere1), we can no longer click on the other spheres, I think that since our sphere1 is the biggest, we “go inside” and we no longer have access to the other meshes.

I hope that I have put enough details and that I have respected the rules of the forum!!  
Thank you for your help 😄

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 27, 2020, 3:45pm UTC](https://forum.babylonjs.com/t/change-camera-position/15213/2 "2020-10-27T15:45:21Z")

</div>

Hey and welcome

so let’s start by the beginning, you GUI button is only registering the action but not starting it.

So I did a quick fix for that:  
[https://playground.babylonjs.com/#U919B5#3](https://playground.babylonjs.com/#U919B5#3)

---

<div class="post-metadata">

**Author:** ![ME\_me](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/me_me/32/11805_2.png) [@ME\_me](https://forum.babylonjs.com/u/ME_me)\
**Post date:** [October 28, 2020, 4:17am UTC](https://forum.babylonjs.com/t/change-camera-position/15213/3 "2020-10-28T04:17:06Z")

</div>

Thanks to you, it works perfectly!! 😃
