I want when the player make a wrong movement and touch something he shouldn't.
The screen shake the player and make a movement back.
I figure out how doing it.
My problem is the player can continue to move before before the return to the previous position and it make bugs everything.
Basically i need to unallowed the player to move.
Is it possible?