Thank you for your reply, im sorry i miss explain about the angle degree
please take a look this aep file. Maybe it can help abit with the question 12694_angletrigonometrycc12.aep.zip
the Red box is actually a square with the anchor point top right, rotation 45, position at the edge of the blue box size
the blue box height, width is dynamic sized
I wanted to understand this, is there any tutorial to explain this?
Thank you very much