Hi all,
I need to be able to programmatically adjust the point about a sprite rotates.
At run time, I want some of my sprites to turn about different centres, e.g. rotate about a corner.
I have mucked about with center x and y, but have not managed to gain any predictable control.
All help and advice are greatly appreciated.
Regards,
Kevin

In the set [variable] block, there's a sub-menu, my. If you go in it, it has options for rotation x and rotation y. These might be what you're looking for. The value you set them to, is a position on the stage, not relative to the sprite.

To get a position relative to the sprite, just use

thanks

Thank you, I'm now starting to have fun with this.