in a script, I need to find the nearest trigger given a 3D position. How can I do this?
I thought I would loop over all existing triggers and check their positions. But I did not find a way to get the current position of an object. Is there a JS function or “run” command to get the position?