You can go inside the code to see how it works.
This is part 1 of the series. This part does not have a lot This is the Part 2 link: https://scratch.mit.edu/projects/1071268534/