Code: Select all
on mouseUp
put (the width of this stack/2) into tHCen
put (the height of this stack/2) into tVCen
put (the bottom of img "image"- tVCen) into tVOff
put (the right of img "Image" - tHCen) into tHOff
set the angle of img "image" to (the angle of img "image"+90)
set the top of img "image" to tVCen - tHOff
set the right of img "image" to tHCen + tVOff
end mouseUp