Can we use proximity prompts to detect when player is near an object?

I know that we can use a loop and calculate whether the player’s distance is close enough to the object, but I find that ProximityPromptService has everything I need to do what I want, and it would be a bonus if I could use it directly to detect when the player is close enough to the object.

In other words, is there an event that fires when the prompt starts showing on the player’s screen?

2 Likes

Yes, there is.

here’s the API: ProximityPrompt | Roblox Creator Documentation

2 Likes

That’s amazing, I’ll take a look at it, thanks for the quick help!

1 Like

Your welcome. : )

had to put some words here in order to post

1 Like