Forum Discussion
SwiftC
20 days agoCommunity Member
Issue with Execute JavaScript Trigger in Storyline 360
I am working on a project in Articulate Storyline 360 and I'm trying to execute a JavaScript function when the timeline starts on a slide. The function is supposed to replace the default values of pr...
Nedim
11 days agoCommunity Member
Define a variable named slideNumber in Storyline and set it to match the value of the built-in Project.SlideNumber variable when the timeline starts. Then, declare the slideNumber variable in your JavaScript code.
let slideNumber = getVar('slideNumber');
Then, call the function with the current slide number:
setTexts(slideNumber);
Logged: