Someone help me I want to make a UI that can hit an object and there will be a space to enter an answer.

Ex
when approaching an object


after pressing the object
image