Make the window Borderless in code

I know at least for the Windows options you can change the "Borderless Window" option on the Graphics options for the game.

Is there anyway to change this in code? I looked for a function that could do it and didn't find any.


I think there is something on the marketplace that can do that for you. I don't think you can out of the box.


Me and @Blakkid489 are currently struggling with this too. At the moment we're just starting our game in Borderless and just making it adjustable in the options menu but would like there to be a way to remedy this.