Dynamic Component Door will Open But not close

Hello Everyone,

I need help!
I am modeling a project for a customer. The project includes large hinged double doors. I made both doors dynamic components using onclick animate RotZ. The right door works perfectly with the interact tool, it opens and closes properly.
The left door will open but will not close. When trying to close it opens a custom attribute showing degrees. The degrees change in the attribute when clicking but the door won’t close.

Any ideas why this would happen? I am at a loss as to the fix.

Thank you all!

put quotes around rotz to work with negatives

example: animate(“rotz”, 0,-90)

can you upload the DC if you cannot work this

Thank you for your reply! I turned off smart quotes on my Mac and used the quotes “RotZ” and everything is working perfectly.

Thanks for the help!