nter&quot;
    VerticalOptions=&quot;Center&quot; /&gt;
</code></pre>
<p>In code-behind, you can control animation state:</p>
<pre><code class="lang-csharp">PlayerSprite.Start(); // Start animation
PlayerSprite.Stop();  // Stop animation
PlayerSprite.CurrentFrame = 0; // Set frame
</code></pre>
<h2 id="handling-input-tap-drag-and-gestures">Handling Input: Tap, Drag, and Gestures</h2>
<p>DrawnUi.Maui supports rich gesture handling for interactive games:</p>
<pre><code class="lang-xml">&lt;DrawUi:SkiaHotspot 