Hi Sarmad!
If I understood you correctly, you wondered how to put GSAP animation to some online course. Fortunately for you there are many ways. If you are working with PPT, so maybe this article will help you https://www.ispringsolutions.com/blog/elearning-examples . If it helped you - great! If not, could you please ask your question differently?