w:SkiaLayout&gt;
    &lt;/draw:SkiaHotspot&gt;
    
&lt;/draw:SkiaShape&gt;
</code></pre>
<p>In code-behind:</p>
<pre><code class="lang-csharp">private void OnButtonTapped(object sender, EventArgs e)
{
    ButtonAnimation.Stop();
    ButtonAnimation.CurrentFrame = 0;
    ButtonAnimation.Start();
}
</code></pre>
<h2 id="performance-considerations">Performance Considerations</h2>
<h3 id="memory-management">Memory Management</h3>
<ul>
<li>Sprite sheets are cached automatically to avoid redundant loading</li>
<