Thank you scratch team for the tutorial. (i added some of my own ideas to the code) go check it out. Link : https://scratch.mit.edu/discuss/youtube/TZu2QwkYQm0/
good luck! (copy and paste the link and put it in a new tab.)