Scratch 101: Creating the Factorial Function

Hello and welcome to Scratch 101! In this tutorial we will be creating the factorial function, a mathematical operation which can be found on the calculator. Learn what the factorial function is here.

Graphical Setup:
The graphical template is located here:

Goes into the Gobo Sprite

Common Mistakes:
Make sure that you type in the correct numbers!

Make sure that you have set all of your variables set correctly and applied properly!

The completed version can be found here:


  1. Cool. I made a factorial block for scratch in my unshared math project. If had seen this I could have copied it lol.

  2. Hoi I am le temmie master