(UPBGE) Near sensor and text display

Hello, i’m working on a game on UPBGE and i have a problem. I would like to display a text at the bottom of the screen when my character arrives near another object (in this case an NPC). I know it have something to do with the near sensor / visibility actuator etc… but i can’t works this out.

If someone can help me;
thank you very much!!