# Is there a playground showing input activating/deactivating when there are 2 camera in 1 scene?

**URL:** <https://forum.babylonjs.com/t/is-there-a-playground-showing-input-activating-deactivating-when-there-are-2-camera-in-1-scene/12667>\
**Category:** Questions\
**Created:** [July 20, 2020, 12:50pm UTC](https://forum.babylonjs.com/t/is-there-a-playground-showing-input-activating-deactivating-when-there-are-2-camera-in-1-scene/12667 "2020-07-20T12:50:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![enquel](https://avatars.discourse-cdn.com/v4/letter/e/ed655f/32.png) [@enquel](https://forum.babylonjs.com/u/enquel)\
**Post date:** [July 20, 2020, 3:30pm UTC](https://forum.babylonjs.com/t/is-there-a-playground-showing-input-activating-deactivating-when-there-are-2-camera-in-1-scene/12667/3 "2020-07-20T15:30:29Z")

</div>

Wow, I was looking in the directions of attaching inputs and raycast blocking and layer masks, but this is definitely the way to go. Thank you @Deltakosh !

Another thing: do you have idea how to solve this? : [[Unity-\>BJS] How get a reference to the .ts script sitting on another game object](https://forum.babylonjs.com/t/unity-bjs-how-get-a-reference-to-the-ts-script-sitting-on-another-game-object/12666)

---

_[View the full topic](https://forum.babylonjs.com/t/is-there-a-playground-showing-input-activating-deactivating-when-there-are-2-camera-in-1-scene/12667)._
