Move the marker with arrow keys. Press space to make a pin on the map. Hold Z to draw a line through the pins to make a path on the map to find the treasure