Forum Discussion

ThierryEMMANUEL's avatar
ThierryEMMANUEL
Community Member
13 days ago

Rotating a shape 90° shouldn't be too complicated but...

Hello community members. A few words of context: for my latest entry in the e-learning challenge #482, I needed to rotate a rectangle by 90°, several times. I used good old motion trajectories, with...
  • SamHill's avatar
    12 days ago

    Hi ThierryEMMANUEL I have the solution for me, but let me know if you need any tweaks to it. This leverages the GSAP library as it is the cleanest solution. In the attached video, I explain the code, and also talk through some modifications you could make. This method also uses some Storyline variables, which may help configure the functionality from Storyline so it is a bit easier to work with for none programmers.

    I'll have a Pietra please. ChatGPT reckons it's one of the most expensive in France ;)

    Working file attached: