#my nodepaths stopped working suddenly
1 messages · Page 1 of 1 (latest)
Is this the code assigned to Node2D? Is it the only node that has this script? Could you show an error message that you get?
yes its assigned to node 2d
and yes its the only one with this script
I'd suspect you've added the script to another node by mistake, or maybe you are removing the node somewhere in the code? When godot throws an error, go to editor's window and check Remote tree
see if the node is still there
you could also do print(name) right before calling $AnimatedSprite2D.play()
to see whether it's truly the only node with the script reaching this code path
when i go to remote i get this
you where right
nice, glad I could help
Either remove the Player node, detach the script from Player node, or add AnimatedSprite2D as it's child
well the thing is i dont know where the player node is
please sm1 help me im on gamejam time
wdym? Did you delete it?