Download

[Feature Request] BP Event that runs only if you are playing in the editor

My understanding is that there’s a flag for this on the C++ side and it would be great to have a BP node version. (A bool that we could check or an event) This is to enable easy “play from here” support during development. Otherwise game BPs have no way to know if a player is supposed to be in the main loop or if we are simply editing.

https://answers.unrealengine.com/questions/95633/viewport-is-in-editor-or-runtime.html

If anyone has any workarounds for this let me know!

  • ook

+1. also events like “OnSelected”, “OnTransform”, etc would be awesome as well :smiley:

It’s already in 4.11
Enable “Allow explicit impure node disabling” in Editor preferences -> Blueprint Editor -> Experimental

Now right click on node - you have “Enable compile” with 2 options - compile always and compile only for development build.