add_component_overlap_event
Adds a per-component overlap event node to a Blueprint, scoped by component GUID. Returns existing node if already present; use for BeginOverlap, EndOverlap, or Hit events.
Instructions
Add a K2Node_ComponentBoundEvent for a specific SCS component.
This is the programmatic equivalent of clicking the [+] button next to an event in the component's Details panel. Unlike add_overlap_event (actor-level), this node is scoped per-component GUID, so multiple components in the same Blueprint each get their own dedicated event node.
If the event node already exists for this component it is returned unchanged (already_existed=True).
Use get_scs_nodes first to confirm component_name and check that supports_overlap_events is True.
Args: blueprint_name: Blueprint asset name (e.g. "BP_NPC") component_name: SCS component variable name (e.g. "InteractionSphere") event_name: Delegate event name. Default "OnComponentBeginOverlap". Also: "OnComponentEndOverlap", "OnComponentHit". graph_name: Graph to add to. Default "EventGraph". node_position: Optional [X, Y] canvas position.
Returns: Dict with node_id, node_name, component_name, event_name, component_guid, already_existed, and pins list.
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_component_overlap_event(blueprint_name="/Game/MCP_Test/BP_Example", component_name="ExampleComponent")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_name | No | OnComponentBeginOverlap | |
| graph_name | No | EventGraph | |
| node_position | No | ||
| blueprint_name | Yes | ||
| component_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |