Skip to main content
Known Participant
February 20, 2009
Question

Rotate object by Reference Point?

  • February 20, 2009
  • 2 replies
  • 370 views
I did a search on the forum on how to rotate an object by % using one of the object's reference points but came up empty.

It seems like something I've overlooked. I'm sure there's data on it, but I can't find it. Can anyone show me how to do this.

Thanks
This topic has been closed for replies.

2 replies

Known Participant
February 20, 2009
It works great. Thanks Peter
Peter Kahrel
Community Expert
Community Expert
February 20, 2009
app.layoutWindows[0].transformReferencePoint = AnchorPoint.topLeftAnchor;
myObject.rotationAngle = 30;

Peter