I have an IF statement at the beginning, it just checks if 1 euqals 1. I just did it that way, to have the first part of code in brackets. At the end of this part I store a number into a global variable.
The second part is also in brackets with an IF statement before. It only runs that part, after the specific number has been set, at the end of part 1. But the animation of those two parts are always played simultaneously.
For my plan, I really need to have part two played only, after the animation of part one is fully finished. I want to have the window unfold/fold with two steps. And if needed I would add a third step, where the complete folded window just disappears/appears in a stylish way.
How do I use "percent"? Which numbers does it hold?
Just using
"
IF
PERCENT
50
=
{
}
"
is not working. But I'am not shure if the first animation would even be over till then.