Skip to content

getTicker

Returns the context of the parent Ticker component

<script>
  import { getTicker } from 'svelte-pixi'

  const { ticker } = getTicker()
</script>
NameTypeDescription
tickerPIXI.TickerThe PIXI.Ticker instance