Trigger Animation: How to prepare a GLTF File?

Hello everybody,

I am new at Three.js and highly motivated. I have been working with blender to create a model and the animation linked to it. I am wondering if you would have any advice on how to prepare a file to create this animation:

  1. Mouse out: the model and its animation are on frame 0.
  2. Mouse hover: the model run from the frame 1 to 10, and stop at 10.
  3. Mouse clicked: it triggers the animation that goest from 10 to 40, and stop at 40.

Would you have any guide, recommendation or advice to give regarding this particular interaction?