We are going to keep track of the number of moves it takes for us to get to a battery, so whenever we move Nano, we will add 1 to the number of clicks.
Nano shouldn't be able to move left anymore once it is at far left side of the grid. We need to check Nano's X position so that we only make it move left when there is somewhere for it to go.
If Nano's Xpos is greater than -209 then that means it is not yet at the far left side of the grid.
We want to be able to see the costume change, even if it is really fast, so we are going to wait 0.1 seconds before we switch the costume back to the original.
To make the button look like it is no longer pressed down, using the same block form step 6, we will switch its costume back to the original, named 'up'.