OUCC

 
 
 

OUCC Tutorials

Blockly Movie Task

Example 2 - Using just an if clause
In this example, there is no else part in the if block so a red circle moves across the screen until time is 50. The program continues to evaluate below the if clause for every frame so a green circle is present in the centre of the screen for the whole animation.

Run the program below to see how this works.

<< Back | Next >>

Movie Tutorial Start
Example 1 - Using an if else clause
Example 2 - Using just an if clause
Example 3 - Why you should avoid loops in this module

Tutorials index


[ tutorials | terms | privacy | info@oucc.uk ]


UKCT Challenges are proud to use The Cuttle Platform to host our challenges.
The Cuttle system can be used for maths and science competitions, entrance exams or employee exams.