You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the ontimer keyword, it works so long as the input is only a literal value or a variable. However, once I place a + sign, the code compiles incorrectly.
Here is some sample code. it simply takes an input and waits for that long - 5 seconds using the timer functionality of scratch.
costumes "blank.svg";
onflag {
time = "Infinity";
ask "wait how long?";
time = answer();
reset_timer;
}
ontimer > time - 5 {
say "beep! timer finished!", 2;
think "...i pre-emptively beeped 5 seconds early..hehe";
}
However, when opening in turbowarp, the ontimer script is nowhere to be seen.
Upon inspecting the project.json file, i am greeted by the subtract block and the 'whengreaterthan' blocks having the same block ID.
That seems to be what causes the issue.
The text was updated successfully, but these errors were encountered:
When using the ontimer keyword, it works so long as the input is only a literal value or a variable. However, once I place a + sign, the code compiles incorrectly.
Here is some sample code. it simply takes an input and waits for that long - 5 seconds using the timer functionality of scratch.
However, when opening in turbowarp, the ontimer script is nowhere to be seen.
Upon inspecting the project.json file, i am greeted by the subtract block and the 'whengreaterthan' blocks having the same block ID.
That seems to be what causes the issue.
The text was updated successfully, but these errors were encountered: