took me 24+ min
Note: if anyone else uses this except for the scratch game developers than Give credit!!!!