I would have a problem with collisions, practically I would like if the character is in front of a wall where there is a collision, the character can turn for example to the right as happens in the photo.
If I try to put 2 walls in front of it and press for example the right arrow, the animation on the right doesn't work, how can I solve it?