add_spawn_actor_node
Add a Spawn Actor from Class node to a Blueprint graph to create actors at runtime. Specify the target Blueprint and actor class to generate the node.
Instructions
Add a 'Spawn Actor from Class' node (SpawnActor).
Creates a new actor in the world at runtime.
Args: blueprint_name: Blueprint name actor_class: Actor class to spawn (e.g., "BP_Projectile") node_position: Optional graph position
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_spawn_actor_node(blueprint_name="/Game/MCP_Test/BP_Example", actor_class="Actor")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_class | Yes | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |