In adacraft, there is a block that allows a sprite to rotate around another or the mouse pointer.

Untitled

This tip shows you how to do a rotation of an object around another:

See project https://www.adacraft.org/project/316880737423852108

See project https://www.adacraft.org/project/316880737423852108

Example

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.

https://www.adacraft.org/project/316240908717654604

téléchargement (1).png