# Issue with fullScreen()

**URL:** <https://discourse.processing.org/t/issue-with-fullscreen/744>\
**Category:** Coding Questions\
**Created:** [June 5, 2018, 11:15pm UTC](https://discourse.processing.org/t/issue-with-fullscreen/744 "2018-06-05T23:15:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fausto](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fausto/32/416_2.png) [@Fausto](https://discourse.processing.org/u/Fausto)\
**Post date:** [June 5, 2018, 11:15pm UTC](https://discourse.processing.org/t/issue-with-fullscreen/744/1 "2018-06-05T23:15:07Z")

</div>

I have encountered a problem when using fullScreen().

For testing I have been given a small projector 800x600 connected to my Mac via thunderbolt to VGA adapter. I can see my second monitor projected, I can mouse over it, drag windows onto it etc.

When I launch my code with fullScreen(); in the setup, the code always run on my laptop screen, no matter what.  
In the Preferences, I have changed “Run sketches on display” to my 800x600 screen.  
I have tried fullScreen(1); and fullScreen(2);

The code always run on my laptop screen, at 800x600, or 1440x900 (my laptop screen resolution), depending on fullScreen(1); or fullScreen(2); but never runs on the second monitor.

Has anyone encountered a similar problem? Am I missing something?  
Anything I should check crosscheck?

Any hint would be helpful.

I have look up several forums, and looked up Processing reference pages.  
I am using a MacBook Air 2015 OSX El Capitan, with Processing 3, version 3.3.6.

cheers,  
Fausto

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [June 6, 2018, 12:42am UTC](https://discourse.processing.org/t/issue-with-fullscreen/744/2 "2018-06-06T00:42:50Z")

</div>

> [fullScreen() / Reference / Processing.org](https://processing.org/reference/fullScreen_.html)

You need to specify the renderer and the display based on the documentation.

Kf

---

<div class="post-metadata">

**Author:** ![Fausto](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/fausto/32/416_2.png) [@Fausto](https://discourse.processing.org/u/Fausto)\
**Post date:** [June 6, 2018, 12:47am UTC](https://discourse.processing.org/t/issue-with-fullscreen/744/3 "2018-06-06T00:47:30Z")

</div>

Thanks Kf.

I have just tried:

fullscreen on second monitor seems to work for those sketches that don’t specify a particular renderer i.e fullScreen(1);

but seems to not work properly for other sketches where I do specify a renderer, i.e. fullScreen(P3D, 1); or fullScreen(P2D, 1);

---

<div class="post-metadata">

**Author:** ![JSGauthier](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jsgauthier/32/9910_2.png) [@JSGauthier](https://discourse.processing.org/u/JSGauthier)\
**Post date:** [September 15, 2021, 4:02pm UTC](https://discourse.processing.org/t/issue-with-fullscreen/744/4 "2021-09-15T16:02:32Z")

</div>

I have also encountered this problem in P4.  
fullScreen() always loads on display 1 regardless of render specification or monitor # selected.
