custom factorial function



i made a simple project that just uses a factorial function. if you don’t know what factorial is, it’s basically a number multiplied by all the numbers before it.(except zero, which would make… zero.)i made this because hopscotch doesn’t have any factorial functions yet. so, for it to work, you first have to input the factorial value. right after, place a “factorial magic” block. then, you can use the factorial value after the custom block is run, to be able to use it in code. i think this will be pretty useful.
try it at


This is a really good started project!


This project IS incredibly useful!


yea, i think it could really help with advanced projects using crazy math and stuff.