I need to know the x,y position of a rectangle that can be rotated to any angle. It would appear that Axure returns the x,y of the rectangle as if it hasn’t been rotated. One effect is that drag/drop no longer works on the rotated rectangle.
Simple file attached. Drag/drop the black square onto the purple rectangle - it aligns happily to the left. Click the purple rectangle to rotate it clockwise 30degs anchored right (you can do this multiple times). A ‘shadow’ rectangle is moved to the new x,y coordinates of the purple rectangle. Dragging/dropping the black square now only works if it’s over the shadow rectangle not the purple and it will align with the shadow rectangle instead of the purple.
It would seem that Axure draws the purple rectangle based on a combination of the horizontal x/y plus the rotation but when you ask for the x,y it returns just the horizontal element.
20230424 Drag Drop Rotate Error.rp (66.1 KB)