Since ritodrine has a bulky N-substituent, it has high β2 selectivity. Also, the 4-hydroxy group on the benzene ring is important for activity as it is needed to form hydrogen bonds.
Ritodrine's large N-substituent contributes to high β2 selectivity. Similarly, the 4-hydroxy group on the benzene ring supports activity by enabling hydrogen bond formation.