#i have written this code and it does nothing Why?

4 messages · Page 1 of 1 (latest)

candid nova
lavish mantle
#

you haven't actually applied to to your sprite

click and drag Sprite.gd onto the Sprite in the scene tree

candid nova
#

oh thanks dude I am a beginner so this thing always needs to be red?

lavish mantle
#

the button serves as double duty

if the node that's selected has ***no ***script, clicking on it allows you to attach a new script to it

if the node that's selected has a script, clicking on it removes the script that's currently attached to it