Bugs with following sprites

i cant figure out how to get my crosshair sprite to follow the nearest enemy without it casting null.
Game

1 Like