In this video we combine the Edge-Follow and SUMO Blockly Functions in a program that will teach Fusion to follow a curving path through a pretend wilderness, cross a “silver sand beach”, and clear left-behind toys from a swimming pool by pushing them to the edge of the pool so they can be collected by our non-swimming teacher. It does this beautifully!
This Challenge illustrates nicely the major program simplification that can be obtained by the use of functions. (Note: My half-a-century background in other languages has meant that I have been used to calling these functions “procedures”, so if you hear the word “procedure” in this video, I mean “function”. Sorry about that.)