How do you use the AND command when creating a looped overlay?

general

#1

When you create a loop overlay you are able to use THEN to shift an overlay then make the opacity of that overlay change but what if I want to shift the overlay and change it’s opacity at the same time, is there an overlay animation command to do such a thing?

I have this:
@overlay SPARKLES shifts to 2 -7 in 3 THEN overlay SPARKLES opacity 1 in 3 loop INFINITE times

But I want this in a loop:
@overlay SPARKLES shifts to 2 -7 in 3 AND overlay SPARKLES opacity 1 in 3

Thank you!


#2

I do it as a list form using ‘&’

&overlay SPARKLES shifts
&overlay SPARKLES opacity
&overlay SPARKLES moves to layer


#3

Oooh, that works! Thank you!


#4

Yay! You’re welcome


#5

Actually, after it trying again, that method didn’t work DX

I tried doing this:
@overlay SPARKLES shifts to 25 8 in 3
&overlay SPARKLES opacity 0 in 3 THEN overlay SPARKLES shifts to -0 8 in 3
&overlay SPARKLES opacity 1 in 3 loop INFINITE times

but maybe only the last line is doing the loop… :thinking:


#6

Change your first ‘@’ to ‘&’


#7

That works but I can only get it to loop the second line, so if I have:

&overlay SPARKLES opacity 1 in 3
&overlay SPARKLES shifts to 25 8 in 3 THEN overlay SPARKLES shifts to -0 8 in 3 THEN overlay SPARKLES opacity 0 in 3 loop INFINITE times

it won’t loop the first line (&overlay SPARKLES opacity 1 in 3) and will only loop the second line that has the loop INFINITE times. So maybe if I put the loop INFINITE times on both and get the timing of the first line correctly it can work… :thinking:

Thanks a lot for your help and telling me about the &'s!


#8

You would need to add the first line to the second line to include it
&overlay SPARKLES shifts to 25 8 in 3 THEN overlay SPARKLES opacity 1 in 3 THEN overlay SPARKLES shifts to -0 8 in 3 THEN overlay SPARKLES opacity 0 in 3 loop INFINITE times

And &'s have literally changed my life since I found out how useful they are!! I’m glad they’ve helped you too


#9

They’re great, :blush: thank you!