getResource
Gets a loaded resource from the parent Loader
import { getResource } from 'svelte-pixi'
const sprite = getResource('/assets/my-sprite.png')
Gets a loaded resource from the parent Loader
import { getResource } from 'svelte-pixi'
const sprite = getResource('/assets/my-sprite.png')