| Parameter | Description |
|---|---|
| shapeName | The name of the blend shape to add. Must be unique. |
int The index of the newly created blend shape (0-based).
Adds a new blend shape to the sprite and returns the index of the newly created blend shape.
Throws an exception if a blend shape with the same name already exists or if the name is null or empty.