# startFullscreen can not work in mobile and function scope

**URL:** <https://phaser.discourse.group/t/startfullscreen-can-not-work-in-mobile-and-function-scope/7151>\
**Category:** Phaser 3\
**Created:** [August 10, 2020, 7:56am UTC](https://phaser.discourse.group/t/startfullscreen-can-not-work-in-mobile-and-function-scope/7151 "2020-08-10T07:56:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IDNMAX](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@IDNMAX](https://phaser.discourse.group/u/IDNMAX)\
**Post date:** [August 10, 2020, 7:56am UTC](https://phaser.discourse.group/t/startfullscreen-can-not-work-in-mobile-and-function-scope/7151/1 "2020-08-10T07:56:13Z")

</div>

I using phaer v3.24.1, and I need to do fullscreen mode.

So I using exapmle code from office.

```
            if (this.scale.isFullscreen){
            console.log('I want stop');
            this.scale.stopFullscreen();
        }else{
            console.log('I wnat start');
            this.scale.startFullscreen();
        }

```

It dose’t work, give me Uncaught TypeError: this.scale.startFullscreen is not a function.

But if I using in create() method. It will success.

Why?

And if I using mobile it will not success. (safari/chrome iphone X)

I also read this : [https://rexrainbow.github.io/phaser3-rex-notes/docs/site/scalemanager/](https://rexrainbow.github.io/phaser3-rex-notes/docs/site/scalemanager/)

Please help me.
