Planets around other stars are usually too dim to see directly, so indirect methods are used. The most successful relies on the fact that the tug of orbiting planets makes a star wobble ever so slightly and can create a detectable Doppler shift in its light.