Forum Discussion
lorraineS
1 day agoCommunity Member
Storyline 360 - Can I get access to a Scene Title variable?
For many reasons, having the scene title variable exposed to developers as a built in variable would be great! Has that happened yet?
If no, does anyone know a clean way to get it via javascrip...
lorraineS
10 hours agoCommunity Member
I'm not good with javascript yet. What goes before the .query and .parent stuff? Like what do I replace the "?" with?
Nedim
2 hours agoCommunity Member
No need to replace "?". The ?. symbol in JavaScript is called optional chaining. It tells the script to continue only when something exists. If something is missing, it returns nothing instead of causing an error.
Just use the script as it is, and make sure you reference your custom "SceneTitle" variable on the slides.