# How to receive a notifiaction/callback when arc camera inertia rotation complets?

**URL:** <https://forum.babylonjs.com/t/how-to-receive-a-notifiaction-callback-when-arc-camera-inertia-rotation-complets/13194>\
**Category:** Questions\
**Created:** [August 7, 2020, 11:43am UTC](https://forum.babylonjs.com/t/how-to-receive-a-notifiaction-callback-when-arc-camera-inertia-rotation-complets/13194 "2020-08-07T11:43:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmitov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kmitov/32/4969_2.png) [@kmitov](https://forum.babylonjs.com/u/kmitov)\
**Post date:** [August 7, 2020, 11:43am UTC](https://forum.babylonjs.com/t/how-to-receive-a-notifiaction-callback-when-arc-camera-inertia-rotation-complets/13194/1 "2020-08-07T11:43:14Z")

</div>

Hi,  
I am looking at the ArcRotateCamera. It has an inertia in the rotation. Do you know of a why to get notified when the rotation is complete. I would like to stop the rendering then.

This did not help - [ArcRotateCamera - Babylon.js Documentation](https://doc.babylonjs.com/api/classes/babylon.arcrotatecamera)  
The search for “camera on rotation complete” (and similar) both in the forum did not gave any results - [Search results for 'camera on rotation complete' - Babylon.js](https://forum.babylonjs.com/search?q=camera%20on%20rotation%20complete)

Thanks.

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [August 7, 2020, 12:20pm UTC](https://forum.babylonjs.com/t/how-to-receive-a-notifiaction-callback-when-arc-camera-inertia-rotation-complets/13194/2 "2020-08-07T12:20:29Z")

</div>

You can check the `inertialXXX` properties to determine when the (arc rotate) camera is stopped:

[https://playground.babylonjs.com/#1AJRKW](https://playground.babylonjs.com/#1AJRKW)

---

<div class="post-metadata">

**Author:** ![kmitov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/kmitov/32/4969_2.png) [@kmitov](https://forum.babylonjs.com/u/kmitov)\
**Post date:** [August 7, 2020, 12:22pm UTC](https://forum.babylonjs.com/t/how-to-receive-a-notifiaction-callback-when-arc-camera-inertia-rotation-complets/13194/3 "2020-08-07T12:22:55Z")

</div>

More than enough. Thanks. I will try it.

I was expecting for this to be an animation and to register for an animation observer. After all if it walks like an animation and talks like an animation I though it is an animation.

---

<div class="post-metadata">

**Author:** ![j-te](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/j-te/32/37194_2.png) [@j-te](https://forum.babylonjs.com/u/j-te)\
**Post date:** [January 17, 2025, 10:23am UTC](https://forum.babylonjs.com/t/how-to-receive-a-notifiaction-callback-when-arc-camera-inertia-rotation-complets/13194/4 "2025-01-17T10:23:10Z")

</div>

To stop the `ArcRotateCamera` in-place we can use the following utility (I don’t think we have a public method):

```ts
function stopInertia(arcRotateCamera: ArcRotateCamera) {
  arcRotateCamera.inertialAlphaOffset = 0;
  arcRotateCamera.inertialBetaOffset = 0;
  arcRotateCamera.inertialRadiusOffset = 0;
  arcRotateCamera.inertialPanningX = 0;
  arcRotateCamera.inertialPanningY = 0;
}

```
