Yeah, my solution is very incomplete. I don't know exactly how the the moveto behavior operates to make a recommendation. Personally I'd opt to do the motion with just events instead of working around the behaviors, but it's likely not useful since it would be incompatible with what you may had.
[quote:ycvgommh]The problem is I can't think of the formula I need to use to adjust the object's position based on the rotation of the square. Any help?
If you want the math to rotate an object around a point here's a post with the math for that: