Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | gigepe |
invalid set index “animation” (on base: “null instance”) with value of type “string”
that appears to me when I play the scene,
this is my code:
if Movimiento.x > 0:
$animatedsprite.animation = “RUN”
elif Movimiento.y < 0:
$animatedsprite.animation = “JUMP”
else:
$animatedsprite.animation = “NORMAL”