ScratchData LogoScratchData
Back to learnegy's profile

Simple Recursion and Custom Block with Input Example

LElearnegy•Created November 19, 2012
Simple Recursion and Custom Block with Input Example
3
2
408 views
View on Scratch

Instructions

Use the "s" key to spin and the up and down arrow keys to zoom in and out.

Description

This is a small example to demonstrate recursion in Scratch 2 using custom blocks. Also includes examples of code reuse using custom block input parameters to control zooming in and out. A global listener on the stage toggles the recursive spin on and off.

Project Details

Project ID10006686
CreatedNovember 19, 2012
Last ModifiedNovember 19, 2012
Visibilityvisible
CommentsAllowed