Just clicking on the nearest npc won't fit my needs unfortunately. I would like to be able to use it in a script that finds my closest enemy and tells me the distance to them. I am hoping to be able to target the GetPos command on both the player and the nearest npc, determine the difference and output the answer. If anyone knows how to do this or can point me in the right direction for a tutorial that would be great. Thanks.