Forum Discussion
RussLickteig
1 month agoCommunity Member
Center point is off when I use JavaScript for animation creation.
Hey everyone. If I use the typical animations SPIN to animate a circle the circle rotates perfectly centered as it should. If I use the new AI tool in SL to create a custom animation with javaScrip...
Nedim
1 month agoCommunity Member
I’m not sure which code you used, but attached is a .story file that compares different options and approaches:
Example 1:
Object is rotating with the Default Spin Entrance Animation
Example 2:
Object is rotating using a JavaScript API object reference and the Web Animations API
Example 3:
Object is rotating using a JavaScript API object reference with the rotation property and update() function
- RussLickteig1 month agoCommunity Member
Thanks for the examples Nedim! Look great. The code I was using that did NOT work was JS generated from within Storyline using the AI assistant.