Is there a way to condition a spawn event?

Hello! I have a spawn event that is triggering a subgraph
Is there a way to gate that spawn event to only trigger when a specific variable is set to true? or is the only way to limit emission on the subgraph?

The easy way is to set Count in Single Burst to 0 when you need it, but I guess you still want to spawn particles somewhere below where green connection goes. In this case as you said you would need to do that stuff inside subgraph or just use separate event.
Or actually, you could chain Spawn contexts and put another one (between subgraph and Spawn) and set spawn count to 0 there, so this value is passed to the subgraph.

Maybe it will be possible in future with this: https://portal.productboard.com/unity/1-unity-platform-rendering-visual-effects/c/99-boolean-ports-to-enable-disable-blocks