I don't know how to solve this loop Error

This is the script where the error is:

@overlay MEDIUM_BEAM2 opacity 0.2 in 3 THEN overlay THIN_BEAM opacity 1 in 4 THEN overlay MEDIUM_BEAM2 opacity 0.8 in 5 AND overlay THIN_BEAM opacity 0.1 in 2 THEN overlay THIN_BEAM opacity 1 in 3.5 AND overlay MEDIUM_BEAM2 opacity 0 in 2 THEN overlay THIN_BEAM opacity 0 in 4.2 loop INFINITE times

The error says Loop command can only be used with Overlay Animation commands.
Is the opacity command not an animation or did I make another mistake? And another question, can you use “THEN pause for #” in a infinite loop?

1 Like

Try writing an ‘&’ instead of an ‘@’.

1 Like

Oh I think I found the problem, you can’t use AND in a looping command, my bad.
Thank you!

2 Likes