add_nla_strip
Places an action on an object's NLA timeline as a strip, allowing repeated cycles, clip sequencing, and layered animation blending.
Instructions
Place an action on the NLA timeline as a strip: repeat a walk cycle, sequence clips, or layer a wave on top of a walk.
Args: object_name: Object to animate. action_name: Action to place. frame_start: Frame the strip starts. track_name: NLA track to put it on; created if missing. Empty adds a new track on top. blend_type: How it mixes with the tracks below: REPLACE, COMBINE (adds rotations properly, best for layering), ADD, SUBTRACT, MULTIPLY. repeat: Times to play the action, 0.1 to 1000. scale: Playback stretch, 0.01 to 100 (2 is half speed). extrapolation: After (and before) the strip: NOTHING, HOLD or HOLD_FORWARD. blend_in: Frames to fade in, 0 or more. blend_out: Frames to fade out, 0 or more. influence: Fixed strength 0.0 to 1.0; leave unset for full.
Returns: Dict with the track, strip, and its frame range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| repeat | No | ||
| blend_in | No | ||
| blend_out | No | ||
| influence | No | ||
| blend_type | No | REPLACE | |
| track_name | No | ||
| action_name | Yes | ||
| frame_start | No | ||
| object_name | Yes | ||
| extrapolation | No | HOLD_FORWARD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||