(n) would be the distance radius in Parsec, (0) the distance would not matter.
Of course, I do not know how difficult it is, but SelectRandomPlanet(0) would obviously have to supply a planet that exists.
A few additional commands could not hurt either.
Goto (Time 10)
'Rotate(10,360)' rotates the planet 360 degrees within 10 seconds.
But I do not insist!