Is there a version of "onMouseclick" with proximity prompt

I’ve been a programmer for almost 1 month.
And i still dont know if there is a command based on “onMouseclick” for proximity prompt
Does anyone knows?

You can view all of the events of ProximityPrompt here:
https://developer.roblox.com/en-us/api-reference/class/ProximityPrompt

it will already do the thing when you click it

example: you click e or the button that shows e and it will run the code for proximityprompt.activated

ProximityPrompt.PromptButtonHoldBegan(player) and ProximityPrompt.Triggered(player)