create_niagara_scratch_pad_module
Create a new Niagara scratch pad module with a pre-wired graph by duplicating the editor's default template, ready for custom logic.
Instructions
Create a new scratch pad script on a Niagara System.
Duplicates the editor's default template (DefaultModuleScript / DefaultDynamicInputScript / DefaultFunctionScript from NiagaraEditorSettings) so the resulting graph is pre-wired with Input / MapGet / MapSet / Output just like clicking "Create New Module" in the Scratch Script Manager. Falls back to a manually-built minimal graph if the template asset is unavailable.
Args: system_path: Niagara System asset path module_name: Desired scratch script name (unique within the system's ScratchPadScripts) module_type: "module" (default), "dynamic_input", or "function"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_name | No | ScratchPadModule | |
| module_type | No | module | |
| system_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |