Animation issue with newly enabled part

My scene has door open animation and the door is composed of multiple children entities.
Applying animation to the door isn’t a problem at all.

However, there is excptional case.
Let’s say the door is opened.
Then if I enabled a new entity, this is part of door and it was disabled, is enabled, the newly enabled entity is animated to the opened state by itself.

I just wonder if it’s possible to hide the entity while it’s being animated and show (or enable) once after the animation is completed.

Yes it is possible. You can get all the render components with and then use hide/show on the render component

You can then use animation events to know when animation starts and ends: Anim Events | Learn PlayCanvas