now i need understand 1 collision against a wall... heres how i do:
1 - like normaly, the player moves(sometimes to wall in);
2 - the player moves(automatic) to inversed direction;
3 - the actual direction is blocked(for don't move again to the wall);
4 - after a new movement, the blocked direction is unblocked.
the point 2 is, in normal game, used?

i have my own collision function(even the NotCollision that can tell you the distance between player and the next object)(i create the Sprite2D control)
but continue... the question was resolved... but think in these way
speed=5
distance between player\pacman and wall=4
if you move, the pacman enter in wall. and my effect is make move it back... what isn't correct. then how resolve it?
simple... using the NotCollision event that can tell you the distance between player and the wall, you just move it until before collide with wall.
but thanks for the help