spine_add_bone
Add a setup-pose bone to a Spine skeleton, inserting it after its parent's subtree to preserve parent-first ordering, and return the updated bone tree.
Instructions
Add a setup-pose bone. The bone is inserted after its parent's subtree so that "parents always come first" stays valid. Returns the resulting bone tree.
Args:
inherit: normal, onlyTranslation, noRotationOrReflection, noScale or noScaleOrReflection.
transform: Deprecated alias of inherit (the pre-4.2 field name).
skin: Only active while a skin that contains it is active.
color: Optional bone color as RRGGBB or RRGGBBAA.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | Yes | ||
| skin | No | ||
| color | No | ||
| length | No | ||
| parent | No | ||
| inherit | No | ||
| project | Yes | ||
| scale_x | No | ||
| scale_y | No | ||
| shear_x | No | ||
| shear_y | No | ||
| rotation | No | ||
| transform | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |