Now, we just need to add the statement after “then”. Go to Screen1 and drag:
set Screen1.BackgroundColor to
Go to colours and attach the red label to it.
4. What was the second condition? When the timer gets to 10 seconds, we want to open a second screen. So, let’s add the blocks for the “else” clause. Just copy and paste the block you attached to the if clause and set the number to 10. Then, click on Control and add the block:
open another screen screenName
As its name is a string, drag an empty block from Text and write the name “Screen2”.
5. Finally, we just need to set the background colour for the second screen to white. Go to Screen2, click on it in the left side menu and add:
Then, always from Screen2 section, add:
set Screen2. BackgroundColor to
Now you just need to click on Colors and add the white label.