Forum Discussion
New in Storyline's AI Assistant: JavaScript Interactions
We just shipped something I have been itching to talk about. You can now use the AI assistant in Storyline to generate custom JavaScript triggers that turn a static slide into a dynamic interaction.
Not just “show layer when variable changes” dynamic. I mean real, game-like behavior.
This feature unlocks a lot for course authors:
- Lightweight gamification
- More immersive and engaging content
- Unique interactions that are tough or flat out impossible with built-in triggers alone
And the best part is you can iterate with the chat. Ask for tweaks. Refine the behavior. Adjust the difficulty. Clean up the logic. All without needing to write a single line of JavaScript code yourself. Non-coders rejoice!
I saw a LinkedIn post recently showing off a fun "fruit drop" game where learners move a basket along the bottom of the screen catching falling fruit. It looked fairly involved and it made me wonder: could the AI Assistant help me create something similar?
So I tried it.
I laid out a simple slide with images of fruit and a basket. Then I opened the AI Assistant and started prompting.
I had the core mechanics working in about 20 minutes. I spent another hour or so polishing and iterating to get what I have today. I was really impressed with just how quickly it all came together. I also really liked how the AI would point out things it couldn't do yet, while still giving me a way forward. For example, it's not able to create Storyline variables (yet), so it instead asked me to create the variable and give it the name so it could use it in the JavaScript.
The attached gif shows it in action, or you can play it for yourself on Review 360, I'll put a link in the comments.
While this was a really fun and rewarding exercise, it's not perfect. We're actively working to smooth things out.
Have you tried this out yet? If so I'm curious:
- What worked well?
- Where did it fall down?
- What kinds of interactions are you trying to build?
Drop your examples, wins, frustrations, and "I wish it could..." ideas in the comments. We're listening.
If you've been intimidated by JavaScript in Storyline, this might be your moment to jump in. Check out this video tutorial for inspiration:
1 Reply
Try this out for yourself in Review 360: Fruit Drop Game - AI Interactions Demo | Review 360