# Is there a way to check in Blueprints if your in Standalone Game or not?

**URL:** <https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133>\
**Category:** Blueprint\
**Tags:** debug, unreal-engine, standalone, editor, question\
**Created:** [May 24, 2014, 12:16pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133 "2014-05-24T12:16:25Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaitorched](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kaitorched](https://forums.unrealengine.com/u/kaitorched)\
**Post date:** [May 24, 2014, 12:16pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/1 "2014-05-24T12:16:25Z")

</div>

Hi,

is there a way to check in a blueprint whether the game is currently running in the editor or as a standalone game? I’d like to have my custom debug stuff only work if I’m playing in the editor.

Thanks!

---

<div class="post-metadata">

**Author:** ![sherrie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sherrie](https://forums.unrealengine.com/u/sherrie)\
**Post date:** [January 17, 2015, 11:25am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/2 "2015-01-17T11:25:26Z")

</div>

I’m wondering too!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8f043ea0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8f043ea0](https://forums.unrealengine.com/u/anonymous_user_8f043ea0)\
**Post date:** [June 1, 2015, 7:56pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/3 "2015-06-01T19:56:08Z")

</div>

I need this too.

---

<div class="post-metadata">

**Author:** ![Mhousse1247](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mhousse1247](https://forums.unrealengine.com/u/Mhousse1247)\
**Post date:** [June 1, 2015, 8:04pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/4 "2015-06-01T20:04:03Z")

</div>

You can check by “Get Platform Name” and comparing strings

 ![44912-platforms.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/8/c/68c254df129cf6b7af0ed72fb73f75de6f7fcde3.png)

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [June 1, 2015, 8:08pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/5 "2015-06-01T20:08:46Z")

</div>

Doesn’t this only show the OS and not the version of the GameVersion?  
This will be true on a Windows PC in Editor and Standalone or?

Why do you guys need to know about standalone or editor? ):

---

<div class="post-metadata">

**Author:** ![Jgibbs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jgibbs](https://forums.unrealengine.com/u/Jgibbs)\
**Post date:** [November 6, 2015, 11:21pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/6 "2015-11-06T23:21:13Z")

</div>

My need today is due to a screen fader effect I need to run to solve an issue of camera position not being valid when my level loads. Depending on network / PC conditions the player camera is placed in a default location until my EventPlay function kicks in and moves it.

To resolve this I’ve created a BP with an embedded post processing effect that blacks out the screen, and once the camera is positioned, it fades out the PPE.

Problem is, that BP also blacks out the editor, so before packaging I have to remember to enable it. I would like the have something in its construction script which can detect its environment so it can disable itself if it’s in editor, but not when released so I don’t have to manually adjust all the time.

---

<div class="post-metadata">

**Author:** ![Claude\_Dareau](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Claude\_Dareau](https://forums.unrealengine.com/u/Claude_Dareau)\
**Post date:** [July 21, 2016, 5:56pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/7 "2016-07-21T17:56:29Z")

</div>

Just run into this. My blueprint was derived from a c++ class so I just implemented the following in my class but you could do the same in a blueprint function library.

```
//! Allow the blueprint to determine whether we are running with the editor or not
UFUNCTION( BlueprintPure, Category = Whatever )
bool IsWithEditor() const
{
#if WITH_EDITOR
	return true;
#else
	return false;
#endif
}

```

---

<div class="post-metadata">

**Author:** ![Jekteir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jekteir](https://forums.unrealengine.com/u/Jekteir)\
**Post date:** [October 21, 2016, 8:41pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/8 "2016-10-21T20:41:50Z")

</div>

I wrote my original “me too” request on Jun 01 '15 at 2:56 PM, and over a year later, I still can’t seem to do this?

I have come across another case where I need this in BP. I am trying to keep as much of my project in Blueprint as possible, as it minimizes upgrade pain. However, not all features work well in editor. For instance I have just discovered that the console command “servertravel” does not work in editor when seamless travel is enabled. I understand that this is because seamless travel still has bugs in Play-In-Editor mode and has been disabled. For that reason, I need a workaround in the editor. What I want to do is turn off the Use Seamless Travel bool if we’re in the editor.

But I can’t tell if I’m in the editor from BP.

Is there any way to do this other than rebuilding my project from code again and adding a bool function to one of my high level classes? I’ll do it if I have to, but I’m trying to get out of the high level C++ classes as much as possible. Many of the reasons they were created back in version 4.6 have been fixed by the time we got to 4.13.

---

<div class="post-metadata">

**Author:** ![Jekteir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jekteir](https://forums.unrealengine.com/u/Jekteir)\
**Post date:** [October 21, 2016, 8:42pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/9 "2016-10-21T20:42:41Z")

</div>

This says “Windows”, which I believe is not helpful to determining if in-editor or not – which was the question.

Can someone please downvote this?

---

<div class="post-metadata">

**Author:** ![MattWoelk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MattWoelk](https://forums.unrealengine.com/u/MattWoelk)\
**Post date:** [November 28, 2016, 11:07pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/10 "2016-11-28T23:07:53Z")

</div>

New in 4.14

![116711-standalone.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/b/febd56ba0775304b7037616d0ae1f3ccf83f907c.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0500cf20](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0500cf20](https://forums.unrealengine.com/u/anonymous_user_0500cf20)\
**Post date:** [November 30, 2016, 5:51pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/11 "2016-11-30T17:51:29Z")

</div>

Unfortunately, this node returns “true” for me even when I’m playing In Editor. (I’m using 4.14.0)

---

<div class="post-metadata">

**Author:** ![skidz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skidz/32/1081394_2.png) [@skidz](https://forums.unrealengine.com/u/skidz)\
**Post date:** [July 16, 2017, 12:30am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/12 "2017-07-16T00:30:20Z")

</div>

It is because that node returns whether the game is a networked game (players over a network connection) or entirely local.  
Here is the doc string:  
Standalone: a game without networking, with one or more local players. Still considered a server because it has all server functionality.

---

<div class="post-metadata">

**Author:** ![TheFlow3k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheFlow3k](https://forums.unrealengine.com/u/TheFlow3k)\
**Post date:** [October 31, 2017, 3:53pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/13 "2017-10-31T15:53:23Z")

</div>

Any News here to check per BP if it is started in Editor, PIE, Stand Alone? Would be nice.

---

<div class="post-metadata">

**Author:** ![SVasilev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SVasilev](https://forums.unrealengine.com/u/SVasilev)\
**Post date:** [April 27, 2021, 11:10pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/15 "2021-04-27T23:10:39Z")

</div>

Don’t know if that will solve your problem, but have you tried the **Is Packaged For Distribution** node?

![337336-screenshot-2021-04-28-021133.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/5/b158d01d6ad364ba22dfa3191ff30d61b249cbed.png)

Here is a link to the documentation: [Is Packaged for Distribution | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/BlueprintAPI/Development/IsPackagedforDistribution/index.html)

---

<div class="post-metadata">

**Author:** ![WillWeaver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillWeaver](https://forums.unrealengine.com/u/WillWeaver)\
**Post date:** [June 24, 2021, 11:09pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/16 "2021-06-24T23:09:50Z")

</div>

![342348-screenshot-2021-06-24-190414.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/6/396feaac5777f385727e2d990deabc816a0d9d19.png)

This method has worked for me, as of version 4.26.  
In PIE, the engine spawns a PlayerStartPIE even if it isn’t used. This doesn’t happen in standalone or a built version, so just checking this way at any point will give you an answer.

I created this Function in my GameInstance so I can reference it from anywhere at any time.

---

<div class="post-metadata">

**Author:** ![Phoskryfes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Phoskryfes](https://forums.unrealengine.com/u/Phoskryfes)\
**Post date:** [November 11, 2021, 7:19am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/17 "2021-11-11T07:19:48Z")

</div>

Thanks! Definitely saved me there.

---

<div class="post-metadata">

**Author:** ![JoeTheWiltshire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoeTheWiltshire](https://forums.unrealengine.com/u/JoeTheWiltshire)\
**Post date:** [February 28, 2022, 1:57pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/18 "2022-02-28T13:57:53Z")

</div>

Just trying this in UE4.27.2 and it doesn’t seem to work, can anyone else verify?  
The greater than always returns false.

---

<div class="post-metadata">

**Author:** ![Thunderpwn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thunderpwn](https://forums.unrealengine.com/u/Thunderpwn)\
**Post date:** [March 9, 2024, 7:42pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/19 "2024-03-09T19:42:13Z")

</div>

it does work:

 ![bilde](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/f/65f5da3bbc9937fcf2831f6a82d8e0cec17c2c83.png)  
if it does NOT have pie its false

---

<div class="post-metadata">

**Author:** ![Thunderpwn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thunderpwn](https://forums.unrealengine.com/u/Thunderpwn)\
**Post date:** [March 9, 2024, 7:42pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/20 "2024-03-09T19:42:49Z")

</div>

thx saved my butt, tried several things and no luck

---

<div class="post-metadata">

**Author:** ![DiliupG](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/diliupg/32/1071099_2.png) [@DiliupG](https://forums.unrealengine.com/u/DiliupG)\
**Post date:** [April 18, 2024, 8:00am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133/21 "2024-04-18T08:00:14Z")

</div>

Doesn’t work for me in UE4.27.2.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/9/659943a7c7a4a782746068bf68e974d2c8f1b7fd.png)  
This returns false when I’m playing in the editor.

[Next page](https://forums.unrealengine.com/t/is-there-a-way-to-check-in-blueprints-if-your-in-standalone-game-or-not/284133.md?page=2)
