A pretty common feature of, well most any game, is clicking on some object to select it or get information about it. Or mousing over it for a tooltip, etc.
In whichever case there needs to be some connection between the visual game object displayed, and the behavior and data behind it.