set_niagara_module_enabled
Enable or disable a Niagara module in an emitter's spawn or update graph to manage particle behavior without manual system edits.
Instructions
Enable or disable a UNiagaraNodeFunctionCall module in a Niagara emitter's spawn or update graph.
Returns: { system_path: string, emitter_name: string, script_group: string, module_name: string, previous_enabled?: bool, enabled: bool, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Optional bool; defaults to true | |
| module_name | Yes | Display name of the module to toggle | |
| system_path | Yes | Asset path of the Niagara System. | |
| emitter_name | Yes | Name of the emitter handle. | |
| script_group | No | Optional "spawn" or "update"; defaults to "update" |