[GAME SETTINGS] How to code the selection of the monitor to display the game?

While playing The Witcher 3, I came across a video option that defines on which monitor the game will be displayed when working with multiple displays. I can’t find this function in blueprints, “Game User Settings” node, so I was just wondering if anybody has found a solution to share (c++ / blueprints). Older questions remain unanswered.

Any help would be appreciated.


yea the GameUserSettings node doesnt have monitor selection by default, thats why its hard to find.

for that Witcher 3 style dropdown just do GetAllMonitors → loop make combobox with monitor Name / NativeWidth x NativeHeight and bIsPrimary badge. on selection call MoveGameWindowToMonitor(index) or SetGameWindowFullscreenOnMonitor(index) if you want fullscreen on that display. GetCurrentWindowMonitorIndex tells you which display the window is on currently so you can init the dropdown correctly.

theres a fab plugin multi-monitor display controller (search hashem store) that exposes exactly those nodes to BP so you dont need C++, also handles the DPI cursor offset thing on secondary monitors. works Win64 5.0-5.8. if you want to code it yourself FSlateApplication::Get().GetDisplayMetrics is the C++ path. — Multi-Monitor Display Controller | Fab

Thanks for the info, I’ll explore the node FSlateApplication::Get().GetDisplayMetrics as you suggested.