-
Scale expression
Hi,
I need to create a map using dots, I want the dots to scale from 0-100 randomly over the space of 3 seconds to reveal/build the map.
I came across a post on here where someone had the exact same problem and the answer was this expression. He used it for opacity so I’m hoping it will work for scale?
I should also mention that I tried this expression on the opacity but I got an error message.
Do I have to change any of the elements within this expression for it to work? Is some of the text placeholder for someone to put in certain dimensions? I’m a novice with expressions so I apologise for my lack of knowledge!
maxTime = 3; // max time for all dots to appear
seedRandom(index,true);
myTime = random(maxTime);
if (time > myTime) 100 else 0Thanks, I really hope you can help.