Detecting if entity is on player's screen (1.20.1)

self explanatory, i would assume this isnt possible though. but if it pls educate me

Continue to help post