Add a command or something that teleports you to a function and do this for processes and events too so I don't have to fly all the way up to one or find one in a sea of code.
get a game value, rclick it, go to locational values, and click location. That game value now is the location, at feet height, of the player. You can set a variable with this game value. Hope this helped!