Two way door not working perfectly

I have a door BP and I want it to open from both sides when the character overlaps with the collision boxes. The thing is I came this far and this works as I wanted expect the first time I trigger from the both sides.

The door just starts at the 0 degrees when I open the door and go to the other side then activate it. After I trigger it from both sides the problem is no more. I could solve it if I could set the key value of the time line from outside and make it dynamic so it can detect the current position of the door but I guess that is not possible.

Is there a way to make this work right away without the need to trigger it from both sides?



You probably need this on ‘play from start’

Didn’t worked. It still snaps back to origin point which “0” degrees on “Z” then plays the animation.