This example does not feature the player's actual movement, it just generates squares that the player could potentially move to. This can be used in conjunction with the Path Finding Object.
Click on the player square in the middle to generate the movement grid. Right click to reset it.
Click anywhere in the area to generate an obstacle. Right click an obstacle to remove it.
The big problem I have with this is that as the grid is being generated, it really hurts the framerate. There seems to be too many calculations going on too quickly. Does anyone have any idea how I could get this same effect with more efficient coding perhaps?