Is there any plug-in or way to convert interactive components to code?

Hi, is there any way to convert interactive components animation to code? Plug-in or code?