Srimad Bhagavatam Canto 08, Chapter 15, Text 32

SB 8.15.32

evam sumantritarthas te
 gurunarthanudarsina
hitva tri-vistapam jagmur
 girvanah kama-rupinah
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Sukadeva Gosvami continued: The demigods, being thus advised by Brhaspati for their benefit, immediately accepted his words. Assuming forms according to their desire, they left the heavenly kingdom and scattered, without being observed by the demons.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The word kama-rupinah indicates that the demigods, the inhabitants of the heavenly planets, can assume any form they desire. Thus it was not at all difficult for them to remain incognito before the eyes of the demons.
Srimad Bhagavatam Canto 08, Chapter 15, Text 31
Srimad Bhagavatam Canto 08, Chapter 15, Text 33