Swinging door problem

I have a garage door DC which I want to rotate 90 deg around its horizontal center (X) axis and then move upwards (Z) half its height, like this; animate(“rotX”,0,-90);animate(“Z”, 150,300). At first onclick it rotates and on the second it moves up but rotates back again. What could be the problem?

A post was merged into an existing topic: Swinging door

A post was merged into an existing topic: Swinging door