How to detect the direction a block display was punched

I need to punch a Block display, and detect if the player is on north, south, west, east relative to it so I can later move it in that direction

Continue to help post