# \[Slate\] UI not appearing when playing in viewport

**URL:** <https://forums.unrealengine.com/t/slate-ui-not-appearing-when-playing-in-viewport/275503>\
**Category:** UI\
**Tags:** unreal-engine, editor, slate, UE4, CPP, question\
**Created:** [March 11, 2014, 2:25am UTC](https://forums.unrealengine.com/t/slate-ui-not-appearing-when-playing-in-viewport/275503 "2014-03-11T02:25:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ue4-archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue4-archive](https://forums.unrealengine.com/u/ue4-archive)\
**Post date:** [March 11, 2014, 2:25am UTC](https://forums.unrealengine.com/t/slate-ui-not-appearing-when-playing-in-viewport/275503/2 "2014-03-11T02:25:09Z")

</div>

This is currently disabled because running Slate in viewport exposes potentially dangerous abuse of global variables. These improper use cases of global variable are being cleaned up. Until they are all gone, we are erring on the side of safety and hiding all the Slate Game UIs inside the viewports.

---

_[View the full topic](https://forums.unrealengine.com/t/slate-ui-not-appearing-when-playing-in-viewport/275503)._
