# Detect if the game is running without graphics?

**URL:** <https://forums.unrealengine.com/t/detect-if-the-game-is-running-without-graphics/423524>\
**Category:** Modding\
**Tags:** Graphics, commandlet, unreal-engine, question\
**Created:** [April 25, 2018, 4:01am UTC](https://forums.unrealengine.com/t/detect-if-the-game-is-running-without-graphics/423524 "2018-04-25T04:01:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grug](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Grug](https://forums.unrealengine.com/u/Grug)\
**Post date:** [April 25, 2018, 4:01am UTC](https://forums.unrealengine.com/t/detect-if-the-game-is-running-without-graphics/423524/1 "2018-04-25T04:01:21Z")

</div>

I have a graphics plugin that I want to avoid running when launching my game exe via commandline to use a commandlet, or as a server. Since this can happen whether the game is in standalone, editor, authority, or client mode I need another way to determine if I’m running the game without graphics. I just need a way to get a simple bool.

---

<div class="post-metadata">

**Author:** ![botman99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@botman99](https://forums.unrealengine.com/u/botman99)\
**Post date:** [April 25, 2018, 10:46pm UTC](https://forums.unrealengine.com/t/detect-if-the-game-is-running-without-graphics/423524/2 "2018-04-25T22:46:13Z")

</div>

IsRunningCommandlet() will tell you if you are running a commandlet.
