  }
}
</code></pre>
<h2 id="using-skiasprite-for-animated-characters">Using SkiaSprite for Animated Characters</h2>
<p>SkiaSprite makes it easy to animate sprite sheets:</p>
<pre><code class="lang-xml">&lt;DrawUi:SkiaSprite
    x:Name=&quot;PlayerSprite&quot;
    Source=&quot;character_run.png&quot;
    Columns=&quot;8&quot;
    Rows=&quot;1&quot;
    FramesPerSecond=&quot;12&quot;
    AutoPlay=&quot;True&quot;
    WidthRequest=&quot;128&quot;
    HeightRequest=&quot;128&quot;
    HorizontalOptions=&quot;Ce