if anim == "lilstep" and direction <> 0:
anim = "run"
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?