# How to properly make a game responsive

**URL:** <https://forum.babylonjs.com/t/how-to-properly-make-a-game-responsive/23803>\
**Category:** Questions\
**Created:** [September 13, 2021, 8:49pm UTC](https://forum.babylonjs.com/t/how-to-properly-make-a-game-responsive/23803 "2021-09-13T20:49:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alecell](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alecell/32/18099_2.png) [@Alecell](https://forum.babylonjs.com/u/Alecell)\
**Post date:** [September 13, 2021, 8:49pm UTC](https://forum.babylonjs.com/t/how-to-properly-make-a-game-responsive/23803/1 "2021-09-13T20:49:26Z")

</div>

_I’ve tried to search this in here and, even though I know it’s probably been answered before, I just cannot find it_

How to scale all the meshes inside the canvas based on the canvas (window) size? What I want to reach is keep the game the same ratio across several devices and, knowing that the most popular way to create responsivity games is scale up/down the meshes to keep the same experience, how can I do this with babylon?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 13, 2021, 10:29pm UTC](https://forum.babylonjs.com/t/how-to-properly-make-a-game-responsive/23803/2 "2021-09-13T22:29:55Z")

</div>

By default in babylon, we should always have the same proportion in the canvas, you can actually test by resizing the playground page ?

---

<div class="post-metadata">

**Author:** ![Alecell](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alecell/32/18099_2.png) [@Alecell](https://forum.babylonjs.com/u/Alecell)\
**Post date:** [September 14, 2021, 2:13pm UTC](https://forum.babylonjs.com/t/how-to-properly-make-a-game-responsive/23803/3 "2021-09-14T14:13:15Z")

</div>

I don’t test it because I think I need to create something before, but I change the resolution and it worked!  
Thank you for your help and sorry for the inconvenience 😅

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 14, 2021, 2:23pm UTC](https://forum.babylonjs.com/t/how-to-properly-make-a-game-responsive/23803/4 "2021-09-14T14:23:26Z")

</div>

No problem at all, if you were wondering, somebody else would probably as well so the topic can help them 🙂
