Or have a "searchlight" or "torch" - if you have aggressive characters.
This can search for opponents or other objects on the screen and head in their direction to "interact" or even destroy..
Pixel by pixel search can be achieve through motion detection algorithms - though this assumes that the other objects are moving, and not perfectly still...