@alexei: That's sort of what I'm after but how would I do it without the targets, just the main sprite?
I want to do something like:
right key is pressed:
... check if there's a solid 32 pixels to the right
......if there isn't move player
... else don't move player
So I need to check 32 pixels in the direction the player will be moving first.