# Function: createSpineHandler() (/pixi-vn-spine/ink/functions/createSpineHandler)



\> **createSpineHandler**(): `void`

Defined in: [src/ink/spineHandler.ts:109](https://github.com/DRincs-Productions/pixi-vn-spine/blob/af3e1a792a130a16ec15e0361177d08e0fa2beaa/src/ink/spineHandler.ts#L109)

Registers the `# show spine` Ink hashtag command, letting Ink scripts show a [Spine](/pixi-vn-spine/index/classes/Spine)
canvas element the same way `@drincs/pixi-vn-ink`'s built-in `# show image` shows an
`ImageSprite`: `<alias>` is just the canvas key (like every other `# show ...` command), and
`skeleton`/`atlas` are required among the free-form `<key> <value>` construction props
(forwarded to [SpineOptions](/pixi-vn-spine/index/interfaces/SpineOptions)). An optional entrance transition can run the element in.

Call this once, near the start of your app (alongside e.g. `addBaseHashtagCommands`), before any
Ink content is parsed.

## Returns [#returns]

`void`

## Example [#example]

```ink
# show spine hero skeleton heroSkeleton atlas heroAtlas xAlign 0.5 yAlign 1 with dissolve duration 1
```
