# Put the game in fullscreen automatically

**URL:** <https://phaser.discourse.group/t/put-the-game-in-fullscreen-automatically/5618>\
**Category:** Phaser 3\
**Created:** [March 23, 2020, 9:52am UTC](https://phaser.discourse.group/t/put-the-game-in-fullscreen-automatically/5618 "2020-03-23T09:52:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gulands](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gulands](https://phaser.discourse.group/u/gulands)\
**Post date:** [March 23, 2020, 9:52am UTC](https://phaser.discourse.group/t/put-the-game-in-fullscreen-automatically/5618/1 "2020-03-23T09:52:54Z")

</div>

Hi, I wanted to know if there is a way to put the game in full screen as soon as it starts, now it goes in fullscreen only when I click on the window.

I use phaser 3 in angular.

---

<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 23, 2020, 3:24pm UTC](https://phaser.discourse.group/t/put-the-game-in-fullscreen-automatically/5618/2 "2020-03-23T15:24:48Z")

</div>

You need a click, tap, or key press.

---

<div class="post-metadata">

**Author:** ![gulands](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gulands](https://phaser.discourse.group/u/gulands)\
**Post date:** [March 23, 2020, 8:48pm UTC](https://phaser.discourse.group/t/put-the-game-in-fullscreen-automatically/5618/3 "2020-03-23T20:48:00Z")

</div>

I use this function to go full screen:

```
create() {
 this.input.on('pointerdown', () => {
  this.game.scale.startFullscreen();
 })
}

```

but after 2 or 3 clicks it goes to fullscreen.
