Forum Discussion
Using variables to change size of shapes
And as the original question of this post was about shapes...
https://360.articulate.com/review/content/be8724c6-9fcd-42de-854f-554042ded54f/review
I added a shape scale and rotation to it. Toggling the checkboxes x and y you can scale it accordingly.
PS. this was already possible in Storyline 1, allthough getting Javascript to work was way more complex.
Good job Math! Your version is indeed shorter.
You can even set duration to 0 instead of 0.1 cause you don't need any animation.
gsap.to(imageToChange, { duration:0,scale: s });
- MathNotermans-94 years agoCommunity Member
True...even better then to use gsap.set
gsap.set(imageToChange,{scale:s});
Used to the syntax... and it makes it easier to add eases or anything else.
GSAP is really magical.
https://greensock.com/
And luckily Articulate is now quite aware of its power...they update it now regularly.
The latest version 3.10.4 is active in Storyline360
Related Content
- 5 months ago
- 10 months ago
- 10 months ago
- 10 months ago