I'm trying to animate a sort of "sign". It is made of a line which can move, and two rectangles (that are in another shape layer). I managed to fix the rectangles to the line by putting them in the same layer. However, now I want the line to rotate around the starting point of the line. I tryed creating two different layers, one for the line and another for the rectangles, but I can't manage to make the rectangles fixed to the end of the line, when the inclination changes..