 similar initialization code
protected override void OnStart()
{
    base.OnStart();
    
    // Register named animations for a character spritesheet
    SkiaSprite.CreateAnimationSequence(&quot;Idle&quot;, new[] { 0, 1, 2, 1 });
    SkiaSprite.CreateAnimationSequence(&quot;Walk&quot;, new[] { 3, 4, 5, 6, 7, 8 });
    SkiaSprite.CreateAnimationSequence(&quot;Jump&quot;, new[] { 9, 10, 11 });
    SkiaSprite.CreateAnimationSequence(&quot;Attack&quot;, new[] { 12, 13, 14, 15 });
}
</code></pre>
<p>Then in XAM