The true statement about exoplanets is: They are discovered when they dim a star they pass by.
This method of detection is known as the transit method, where astronomers observe a slight dimming of a star's light when a planet transits, or passes in front of it, from our perspective on Earth.