Is there a way to run my game in a second monitor once exported

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By cchipont

Can’t seem to find how to set the monitor to run via gdscript. This can be set in the editor settings in windows placement, but I don’t know how to set this to happen from gdscript when running not from the editor. Thanks for any help.

Do you mean running simultaneously?

AlMoeSharpton86 | 2019-05-18 17:09

AlMoeSharpton86, simply want to choose from gdscript the screen in which to dock the game. Emulate de “next monitor” preference of windows placement from the editor settings in gdscript for my game.

cchipont | 2019-05-20 12:31

:bust_in_silhouette: Reply From: path9263

You want to use OS.set_current_screen(value) where value (an integer) is the screen you want to use.

[edit] you can also get the number of screens available: