Text appear on screen when I stand over object.

let’s say i have a plane. Let’s just call it “floor”. I want text to popup sort of like a button. I know how to do part of this. BUT I NEED IT TO CONSTANTLY CHECK F I AM OVER THE “Floor”. I prefer javascript. TY in advance

I use C#, so I can’t write any code for you. I would suggest two options.

  1. Use a trigger collider on the area above the floor and use the OnTriggerEnter() & OnTriggerStay() functions.
  2. Put a collider on the floor itself and then raycast downward and check for a hit. Unity - Scripting API: Physics.Raycast