I got the idea from https://scratch.mit.edu/users/iamnuber/'s https://scratch.mit.edu/projects/800714468/