-size:4><code class=language-gdscript data-lang=gdscript><span style=display:flex><span><span style=color:#81a1c1;font-weight:700>func</span> _ready<span style=color:#eceff4>():</span>
</span></span><span style=display:flex><span>    <span style=color:#bf616a>InputMap</span><span style=color:#81a1c1>.</span>add_action<span style=color:#eceff4>(</span><span style=color:#a3be8c>&#34;attack&#34;</span><span style=color:#eceff4>)</span>
</span></span><span style=display:flex><span>    <span style=color:#81a1c1;