Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | KilgaDev |
if vel.x < 0 :
Sprite.flip_h = true
elif vel.x > 0:
Sprite.flip_h = false
Thats my script the error says:
Script inherits from native type ‘KinematicBody2D’, so it can’t be instanced in object of type: ‘Sprite’’