I've searched online and cannot find the solution. Most of the capx demo links for been removed
So what I'm trying to do is, have sprite 2 orbit sprite 1
I found this...
Set X to CenterX + cos(angle) * dist
Set Y to CenterY + sin(angle) * dist
... but couldn't insert it in sprite2's set x
Can anyone help please?