Pergunta de entrevista da empresa Saber Interactive

In the first-person interaction system, how would you decide which object to interact with, if there are multiple objects overlapping each other.