Following epic tutorial i create some “execute console command” in widget blueprint for my main menu (as r.setRes); but when i try to create a button for “Enter in Fullscreen” i fail. I create an “execute console command” with command “r.FullscreenMode 0” (no result with r.FullscreenMode 1 or 2)
Just create a console command with the command “fullscreen”. This alternate between fullscreen and windowed, so if the player is in windowed mode, it’ll change to fullscreen and vice versa.
fullscreen switches between windowed and borderless windowed(which isn’t fullscreen).
r.FullscreenMode doesn’t work either in 4.22.
r.setRes 1920x1080f sets it to fullscreen.