 the script, you can define any number of variables (aka &ldquo;class properties&rdquo;) and functions (aka &ldquo;class methods&rdquo;).</p><h2 id=creating-a-script>Creating a script</h2><p>Let&rsquo;s make our first script. Remember, any node can have a script attached to it.</p><p>Open the editor and add a <code>Sprite</code> node to empty scene. Right-click on the new node, and choose &ldquo;Attach Script&rdquo;. You can also click the button next to the search box.</p><p><a href=#image-b09153cba1910247