Forum Discussion
MathNotermans-9
8 months agoCommunity Member
Animate a dashed line in Storyline with GSAP
A Storyline user asked me how to do that. With the GSAP plugin DrawSVG that is quite easy. Showing how to get that done in this video. The code for selecting a SVG, its path and animating it, is ...
NathanStoker-c1
7 months agoCommunity Member
This is the webobject code:
(function () {
// Function to load GSAP and Text Plugin
function loadGSAP() {
const gsapScript = document.createElement('script');
gsapScript.src = 'https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js';
gsapScript.async = false;
document.head.appendChild(gsapScript);
const textPluginScript = document.createElement('script');
textPluginScript.src = 'https://cdn.jsdelivr.net/npm/gsap@3.12.5/dist/TextPlugin.min.js';
textPluginScript.async = false;
document.head.appendChild(textPluginScript);
}
// Call the function to load the libraries
loadGSAP();
})();