if x > xprevious{
sprite_index = chief_dex_walk;
}
if x < xprevious{
sprite_index = chief_sin_walk;
}
if x = xprevious{
sprite_index = chief_dex_fermo;
}
Thanks, now this problem is solved,but there is still one:it doesn't jump if i before walk and it is often blocked with no reason. How can i solve this? Thank