# Resizing Phaser.Scale.NONE in a scene distorts sprites

**URL:** <https://phaser.discourse.group/t/resizing-phaser-scale-none-in-a-scene-distorts-sprites/11323>\
**Category:** Phaser 3\
**Created:** [February 28, 2022, 9:44pm UTC](https://phaser.discourse.group/t/resizing-phaser-scale-none-in-a-scene-distorts-sprites/11323 "2022-02-28T21:44:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaser](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@jaser](https://phaser.discourse.group/u/jaser)\
**Post date:** [February 28, 2022, 9:44pm UTC](https://phaser.discourse.group/t/resizing-phaser-scale-none-in-a-scene-distorts-sprites/11323/1 "2022-02-28T21:44:09Z")

</div>

I’m calling the following:

```javascript
this.scale.on('resize', this.handlerScene.resize, this);

```

In each scene I need to, to automatically adjust the size of the game screen, physics, and canvas - and it works great… However sprites and images get stretched out or otherwise distorted depending on how the screen size changes. How can I make sure all sprites and other images are no longer distorted when I resize the screen?

The resize function:

```javascript
resize(scene) {
	this.scale.setGameSize(window.innerWidth, window.innerHeight);
	this.physics.world.setBounds(0, 0, window.innerWidth, window.innerHeight);
	this.scale.updateScale();
}

```

If I use Phaser.Scale.RESIZE, then this.psychics.world.setBounds() doesn’t affect anything.

---

<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:** [March 1, 2022, 4:48pm UTC](https://phaser.discourse.group/t/resizing-phaser-scale-none-in-a-scene-distorts-sprites/11323/2 "2022-03-01T16:48:29Z")

</div>

Check the `<canvas>` dimensions and style. Try [phaser-plugin-debug-game-scale](https://github.com/samme/phaser-plugin-debug-game-scale).

The Scale Manager doesn’t affect physics at all. Try drawing the physics world bounds if there’s trouble.
