You proboly too damage because the snake sprite moves in a certain way that sometimes it flips to asprite quicky that is touchign the wall which damages you. I may be wrong though I did not make teh game but it was made in construct 2 so it has more limited resources than construct 3 as an example.