Detect closest and visible node

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ImpossibleSnail

I’m really struggling here so explain it to me like I’m five.

This is for 3D btw!

Basically the player rotates around a central point and I need to get the instance of a node that is both a) the closest one and b) currently visible (ie: if one is closer but behind the player, it doesn’t count)

I think I can figure out the closest one but I haven’t the foggiest on how to tell if something is currently visible from a specific camera. Is anything like this possible?