Activating FX Using Blueprints

Activate your effect with the press of a button using Blueprints.

Activating FX Using Blueprints

Pressing a button to activate a Niagara FX in a game can be used for a variety of reasons. Whether you’re trying to indicate an ability or an action or just enhancing the gameplay experience for the player, we’ll show you how to activate your Niagara FX with the press of a button using Unreal Blueprints.

What is an Unreal Blueprint?

A Blueprint, or Blueprint Visual Scripting System, is a way to create complete gameplay elements through a node based interface. This system is extremely flexible and powerful as it provides the ability for designers to use virtually the full range of concepts and tools generally only available to programmers. Blueprints are created inside of Unreal Editor visually, instead of by typing code.

What is a Node?

Nodes are objects such as events, function calls, flow control operations, and variables, among others. These nodes can be used within graphs to define the functionality of a specific Blueprint and the associated gameplay elements it represents.


  1. Create a Blueprint and drag your Niagara effect into it.
  2. Turn off Auto Activate on the Niagara component.
  3. In the Event Graph, connect Event BeginPlay and Get Player Controller to the node Enable Input.
  4. Add a node for the keyboard button you would like to press.
  5. Drag the Niagara Component into the Event Graph and drag off that node to create the Activate node.
  6. Connect the Pressed output from the keyboard button node to the Activate node. 
  7. Compile and Save your Blueprint.
  8. Drag the Blueprint into the world, press Play and then press your specified button.

Want to stay in touch with our studio as we craft world-class real-time VFX? Follow Beyond-FX on Twitter, Instagram, Facebook, YouTube, Twitch, & TikTok!