Hey, I have recently discovered Proximity Prompts and wanted to replace all mouse clicks in my game just so it is more clear in the game. I know how to work click detectors pretty well, but I'm new to proximity prompts so I would appreciate some help.
Here's an example of my code -
function onMouseClick() print("Hello World!") end clickDetector.MouseClick:connect(onMouseClick)
That works fine with my click detector. But if I replace Mouseclick with Triggered, it does not work. (assuming I also change the "clickDetector" to a proximity prompt rather than a click detector)
Hopefully this explains what I am trying to do, and I apologize if this is a dumb question, I am quite new to coding in general. Thank you so much