Just watch and learn. You can check inside the project later if needed. This tutorial explains gravity, not collision.
This is a simple tutorial by me. This was made for @biggestbookworm EXAMPLE LEVELS : https://scratch.mit.edu/projects/109921972/