It looks like you're new here. If you want to get involved, click one of these buttons!
How to move the player to the last sprite or grid, in the direction of button pressed, leaving the travelled sprite as colliders and also change color or something to show so the player wont be able to travel through it again. As a result it will create a path. Only if the player move backwards the sprite or grid will again come to normal .
i hope you will understand my problem.