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 https://c.gethopscotch.com/p/z8aeujlpf

# custom factorial function

**claw33**#1