Scientists have developed a new technique that could help them understand "polka dot" stars using the transits of exoplanets.