Please choose the correct answer to the question: While a sailor was out fishing, he got lost at sea. Which object would help him direct the boat back to shore?

Answer1: Rope Answer2: Magnetic compass Answer3: Blanket Answer4: Measuring tape

Answer format: answer1/answer2/answer3/answer4
Answer: answer2