func _on_MegaMan_finished():
if anim == "lilstep" and direction <> 0:
anim = "run"
player.play(anim)
The above code gives me the following error:
error(71,38): Error parsing expression, misplaced: '>'
I'm not too familiar with the inner workings with GDscript or Python yet. Is there another expression to tell if my direction value is different from 0?