+ MouseKeyboard: Right mouse button is down
-> System: Set global variable 'angle' to angle(bone1.X, bone1.Y, bone1.ImagePointX("point"), bone1.ImagePointY("point"))
-> System: Set global variable 'distance' to distance(bone1.X, bone1.Y, bone1.ImagePointX("point"), bone1.ImagePointY("point"))
-> bone1: Set position to bone1.ImagePointX("point") - cos(global('angle') + 1) * global('distance'), bone1.ImagePointY("point") - sin(global('angle') + 1) * global('distance')
-> bone1: Set angle to (angle(bone1.X, bone1.Y, bone1.ImagePointX("point"), bone1.ImagePointY("point")) + 1)

This is wrong. Replace it with this:

+ MouseKeyboard: Right mouse button is down
-> System: Set global variable 'angle' to angle(bone1.ImagePointX("point"), bone1.ImagePointY("point"), bone1.X, bone1.Y)
-> System: Set global variable 'distance' to distance(bone1.X, bone1.Y, bone1.ImagePointX("point"), bone1.ImagePointY("point"))
-> bone1: Set position to bone1.ImagePointX("point") + cos(global('angle') + 1) * global('distance'), bone1.ImagePointY("point") + sin(global('angle') + 1) * global('distance')
-> bone1: Set angle to.angle + 1

Explanation: To rotate a point p2 around another point p1, you use

p2.X = p1.X + cos(angle) * radius

p2.Y = p1.Y + sin(angle) * radius

You get the angle for the rotation by using the angle expression starting with the point, where you want to rotate around (in this case the image point), and ending with the point that will be rotated (in this case the hotspot)

Now we need to raise or lower the angle value (to actually rotate either clockwise or counter-clockwise). The value you use, will be needed to set the angle of the object, too. In this case, it is +1, but if you'd prefer a timebased rotation, it could well be something like 90*TimeDelta, then you'd do .angle + 90 * TimeDelta as well.

Now you need to set the angle of the object relative to the rotation. In this case, the rotation was by 1, so you add 1 to the current angle.

Thanks alot!, I never expected the code to be wrong cause I didn't see it different elsewhere and it worked perfectly on the original (though I did use '-' instead of '+' for the set x/y cos/sin area because for some reason the '+' didn't work but '-' did).

After fiddling with it for awhile I did get it working with that code

with the new objects, thank you so much!! I really needed this.