getStage
Returns the context of the root Container component
import { getStage } from 'svelte-pixi'
const { stage } = getStage()
| Name | Type | Description |
|---|---|---|
stage | PIXI.Container | The root PIXI.Container instance |
Returns the context of the root Container component
import { getStage } from 'svelte-pixi'
const { stage } = getStage()
| Name | Type | Description |
|---|---|---|
stage | PIXI.Container | The root PIXI.Container instance |