Assuming you're using a tilemap:
event: Keyboard.onKeyPressed(Space)
- event: Keyboard.isKeyPressed(W)
-- event: compare two variables (tile(player.X, player.Y - 1) = Tile.hole)
--- action: play animation and move over hole tile
Repeat above three lines for a, s and d.