Thank you for your quick response!
I will explain my setup:
I parent Layer 1 to Layer 2 with the pickwhip.
Than I put in the code in Layer 1. I tried referring in the code to Layer 2. It didnt work. Maybe its a bug in my after Effects?
I also played around with the Anchorpoint but didnt work.
Is it in the pickwhip? I prefer to inherit position, scale, rotation. Its just a simple setup, but givea me difficulties. Thanks again for helping out