# How to adapt sprites to the screen size?

**URL:** <https://phaser.discourse.group/t/how-to-adapt-sprites-to-the-screen-size/10181>\
**Category:** Phaser 3\
**Created:** [August 27, 2021, 9:45pm UTC](https://phaser.discourse.group/t/how-to-adapt-sprites-to-the-screen-size/10181 "2021-08-27T21:45:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![buqer\_ok](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/buqer_ok/32/3444_2.png) [@buqer\_ok](https://phaser.discourse.group/u/buqer_ok)\
**Post date:** [August 27, 2021, 9:45pm UTC](https://phaser.discourse.group/t/how-to-adapt-sprites-to-the-screen-size/10181/1 "2021-08-27T21:45:58Z")

</div>

I need them to change their positions (x, y) and their scale

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [August 28, 2021, 2:22pm UTC](https://phaser.discourse.group/t/how-to-adapt-sprites-to-the-screen-size/10181/2 "2021-08-28T14:22:23Z")

</div>

Use a [resize event callback](https://labs.phaser.io/edit.html?src=src/scalemanager/resize.js).
