#Null error when flipping horizontal

3 messages · Page 1 of 1 (latest)

kind valley
#

Whenever I run the game this error appears: Invalid set index 'flip_h' (on base: 'null instance') with value of type 'bool'.

#

There is also this in errors

#

And here is the code that defines sprite_2d(its actually an animated sprite 2d) @onready var sprite_2d = get_node("AnimationSprite")