# "WINDOWED" console command not working in UMG

**URL:** <https://forums.unrealengine.com/t/windowed-console-command-not-working-in-umg/314077>\
**Category:** Blueprint\
**Tags:** console-command, checkbox, unreal-engine, bug-report, Blueprint, question\
**Created:** [April 6, 2015, 8:29pm UTC](https://forums.unrealengine.com/t/windowed-console-command-not-working-in-umg/314077 "2015-04-06T20:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f21a2bb7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f21a2bb7](https://forums.unrealengine.com/u/anonymous_user_f21a2bb7)\
**Post date:** [April 6, 2015, 8:29pm UTC](https://forums.unrealengine.com/t/windowed-console-command-not-working-in-umg/314077/1 "2015-04-06T20:29:55Z")

</div>

Hi there. I’m trying to build a very basic options menu for my game in which I use a checkbox to toggle fullscreen. The way I did this is by using the checkbox’s onCheckStateChanged event to run to a branch. Depending on the checkbox’s state, it goes to an execute console command node with FULLSCREEN if true, or another with WINDOWED if false.

However, for some reason, the fullscreen state of the game only changes when the FULLSCREEN node is fired, between both fullscreen and windowed. WINDOWED doesn’t work at all. Why is this happening? I’ve used a similar technique in other projects…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f21a2bb7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f21a2bb7](https://forums.unrealengine.com/u/anonymous_user_f21a2bb7)\
**Post date:** [April 6, 2015, 10:02pm UTC](https://forums.unrealengine.com/t/windowed-console-command-not-working-in-umg/314077/2 "2015-04-06T22:02:49Z")

</div>

I made a workaround for now, but I’d really prefer to use the option I outlined above. Obviously, it would be much cleaner

---

<div class="post-metadata">

**Author:** ![geverk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@geverk](https://forums.unrealengine.com/u/geverk)\
**Post date:** [September 14, 2016, 8:59am UTC](https://forums.unrealengine.com/t/windowed-console-command-not-working-in-umg/314077/3 "2016-09-14T08:59:33Z")

</div>

Hi, what i did is just put the command fullscreen. when you uncheck it undo the fullscreen like a flip flop node.

So your widget graph should be very simple, just 2 nodes, the event (OncheckStateChanged) and the execute console command (Fullscreen)
