Tapped=&quot;OnPlayerTapped&quot;&gt;
    &lt;DrawUi:SkiaSprite ... /&gt;
&lt;/DrawUi:SkiaHotspot&gt;
</code></pre>
<p>In code-behind:</p>
<pre><code class="lang-csharp">private void OnPlayerTapped(object sender, EventArgs e)
{
    // Respond to tap (e.g., jump, attack)
}
</code></pre>
<p>For drag or swipe, use gesture listeners or override touch methods in your control.</p>
<h2 id="combining-ui-and-game-elements">Combining UI and Game Elements</h2>
<p>You can mix game elements with standard DrawnUi control