Thanks for the replies guys!
tarek2 - that logic error makes sense thanks, but for your capx file the blocks don't move with the character, which is what I need. In yours they move while the player remains where they are (which is still nice!).
dop2000 - yours fixes that error, but I'm also getting some slight misalignment when the Player pushes the rock. He stays still while it moves, or it moves two squares ahead instead of one etc.
See this gif here of yours in action.
Any idea why that happens? I had that error in an earlier draft and I really need it to be a perfect push as its for a puzzle game, even if its slower and more forceful.
Yep you can use it on your website - even though it seems simple, it took a long time to get to that stage and obviously its still imperfect! I tried at least 15 different methods!