Skip to content

getStage

Returns the context of the root Container component

import { getStage } from 'svelte-pixi'
const { stage } = getStage()
NameTypeDescription
stagePIXI.ContainerThe root PIXI.Container instance