The project has all the instructions. Remix Tree: https://scratch.mit.edu/projects/695996333/remixtree/
The code is all original! But I got the idea from @castle_hippo