How to switch on and off a Niagara System by pressing a key

Hello everyone,

I’m trying to create a Blueprint that switches on and off a Niagara System (NS_Steam) by pressing the ‘L’ key.

This is to make testing easier.

I have no experience with Blueprint, or any kind of scripting/programming, and I’m new to Unreal Engine or game engines in general.

Here is the Blueprint I came up with, but it doesn’t work.

Is there something I’m missing, or is the logic wrong? Or something else?

Thanks for reading!

Your actor needs to receive input to be able to handle input

Set it in your actor’s settings:
image

Could also set up an event dispatcher in the player controller that calls a test event when pressing the “L” key then bind to that event in the B_Steam_Toggle blueprint