# \[SOLVED\] Game with two scenes - can't acquire focus on the second one

**URL:** <https://forum.defold.com/t/solved-game-with-two-scenes-cant-acquire-focus-on-the-second-one/72750>\
**Category:** Questions\
**Created:** [February 28, 2023, 7:09am UTC](https://forum.defold.com/t/solved-game-with-two-scenes-cant-acquire-focus-on-the-second-one/72750 "2023-02-28T07:09:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DjPoke](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/djpoke/32/31496_2.png) [@DjPoke](https://forum.defold.com/u/DjPoke)\
**Post date:** [February 28, 2023, 7:09am UTC](https://forum.defold.com/t/solved-game-with-two-scenes-cant-acquire-focus-on-the-second-one/72750/1 "2023-02-28T07:09:40Z")

</div>

Hello,

I have two scenes, “introScreen” and “level1\_proxy”, stored in my main collection.  
the introScreen has a gui, and a gui\_script to wait a key, load level1\_proxy and disable the main gui.  
It acquire input focus without any problem, and release it when it before it loads the level1\_proxy.  
level1 collection has a game.script, and tries to acquire focus, but without any success.  
Otherwise, other parts of game script works.

Any idea ?

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [February 28, 2023, 7:11am UTC](https://forum.defold.com/t/solved-game-with-two-scenes-cant-acquire-focus-on-the-second-one/72750/2 "2023-02-28T07:11:56Z")

</div>

Did you acquire input focus on the game object with the collection proxy as well?

> **[Input focus and collection proxy components - Device input in Defold](https://defold.com/manuals/input/#input-focus-and-collection-proxy-components)**
>
> All user input is captured by the engine and dispatched as actions to script- and GUI script components in game objects that have acquired input focus and that implement the on\_input() function. This manual explains how you set up bindings to capture...

---

<div class="post-metadata">

**Author:** ![DjPoke](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/djpoke/32/31496_2.png) [@DjPoke](https://forum.defold.com/u/DjPoke)\
**Post date:** [February 28, 2023, 7:23am UTC](https://forum.defold.com/t/solved-game-with-two-scenes-cant-acquire-focus-on-the-second-one/72750/3 "2023-02-28T07:23:48Z")

</div>

No… Thank you. I’ve acquired input focus directly on the level1.collection, not in level1\_proxy.
