Can Proximity prompt appear as UI?

Is it possible to make a proximity prompt appear as a ui, like instead of appearing on top of things it appears in the screen of the player?

im trying to make proximity prompts in my game appear in the UI of the player as i think its looks better for my game

From what I’m aware Proximity Prompts only hover over the part you put them in and don’t act as a ScreenGui. You should probably instead just create a separate interface in StarterGui and enable it whenever the client gets within a certain distance of your selected part.

I recommend using remote events to activate the GUI as it’s a better practice but you can also use RunService in a LocalScript. You can get the Mangitude between the players position and the parts position and if its less than or equal to the activation distance than you can toggle your interface.

Yes and no. By default, you can’t. You would have to get the proximity prompt GUI and manipulate it yourself. A way to get the GUI is to make a proximity prompt, get the proximity prompt to appear, go to PlayerGui and copy the prompt.

this seems to be able to work i can edit it and all but i haven’t tried replacing the actual prompt. i think this has a good chance of working

Maybe, if it does make sure to mark my post as the solution!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.