add_anim_blueprint_variable
Adds a variable (Boolean, Float, Integer, Vector) to an Animation Blueprint for use in transitions and logic. Optionally sets a default value.
Instructions
Add a variable to an Animation Blueprint (for use in transitions/logic).
Args: anim_blueprint_name: Animation Blueprint name variable_name: Variable name (e.g., "Speed", "bIsJumping", "Direction") variable_type: Type (Boolean, Float, Integer, Vector) default_value: Optional default value
KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: add_anim_blueprint_variable(anim_blueprint_name="/Game/MCP_Test/BP_Example", variable_name="ExampleName", variable_type="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| default_value | No | ||
| variable_name | Yes | ||
| variable_type | Yes | ||
| anim_blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |