How do I detect the nearest player to a person who activates a remote?

I want to give a jumpscare to the nearest player of a player who activates a remote.

you could do a sphereoverlap to get all actors in range and then loop over them with a distance check to see who is closest

Does that exist in verse for uefn?

oh sorry didnt notice its UEFN, i havent used that but surely the basic functions exist?

You’re good. I checked the documentation and I’m pretty sure it doesn’t exist