the things is that i don't know what condition i have to add
it might be super simple, but for now i didn't figure out what
here is the capx
https:/ /www.dropbox.com/s/k0263j04ndxlkqa/deplacement%20pokemon%20obstacle.capx?dl=0
(delete the space between / / and it should work)
to be clear, my probleme is :
when my sprite move and if it is in front of a solid obstacle, for exemple i press "right", it will go "down" or "up" and i just want him to don't move