In adacraft, there is a block that allows a sprite to rotate around another or the mouse pointer.
This tip shows you how to do a rotation of an object around another:
See project https://www.adacraft.org/project/316880737423852108
This is an example of an orbiting solar system using "turn degrees around" object and while loop. Pressing the space bar activate the trajectories while it's pressed.