Three.js train parts operation

What I have to do now is the operation of the parts in the train. I don’t have the train of thought now. Do you have any good proposals or good ways to solve them?

What type of operation?

I think maybe it is better to implement all need operate as animations in the model, and in three.js scene, just load the model and play the related animation.

Some of the process effects, such as pushing or moving parts

Which train are you trying to operate the train of thought or the one in the picture? Or are they the same thing?