Forum Discussion
ThaddeusAshclif
4 years agoCommunity Member
move shape by variable length
Is there a way to position and/or move a shape by a variable length. I know the slider trick. However I want to have text as part of the shape, and pictures do not render well enough for the tex...
MathNotermans-9
4 years agoCommunity Member
Use GSAP...
This code moves a shape in 2 seconds 100pixels to the right.
Ofcourse you can use Storyline variables.
let myShape = document.querySelector("[data-acc-text='someShape']");gsap.to(myShape, { duration:2, x:"+=100"});
Related Content
- 7 months ago
- 12 months ago
- 12 months ago
- 12 months ago