# Inside view with direction

**URL:** <https://forum.babylonjs.com/t/inside-view-with-direction/46734>\
**Category:** Questions\
**Created:** [December 26, 2023, 5:47pm UTC](https://forum.babylonjs.com/t/inside-view-with-direction/46734 "2023-12-26T17:47:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melhossry](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/melhossry/32/32737_2.png) [@Melhossry](https://forum.babylonjs.com/u/Melhossry)\
**Post date:** [December 26, 2023, 5:47pm UTC](https://forum.babylonjs.com/t/inside-view-with-direction/46734/1 "2023-12-26T17:47:38Z")

</div>

Hello Community! Within my project, there’s a button designed to activate a target camera. Upon clicking this button, I am presented with the perspective the character observes. If I navigate the character with arrow keys while in this view and simultaneously press the button again to switch back to the normal view, the character undergoes continuous rotation.  
this is a playground example:

> **[Babylon.js Playground](https://playground.babylonjs.com/#18ZQ34%2311)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

any help will be appreciated  
thank you

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [January 2, 2024, 1:36pm UTC](https://forum.babylonjs.com/t/inside-view-with-direction/46734/2 "2024-01-02T13:36:59Z")

</div>

Hello! The rotation is not stopping because the `inputs` map still has the key turned on. It is not turned off because on line 73, the scene’s action manager is being nulled, so it will never detect the key up event.
