WARNING: VERY LAGGY Press numbers to change elements(1-5) Space to place. Hold down space to move and place! 1:Stone. It floats. 2:Water. It flows. 3:Lava. It burns. 4:sand. Soothing. 5:Gas. Fly's up. Maximum grains is 300. Have a nice time!:)
Credit to Flamingdragon15 for some code ideas. Don't worry if grains go over 300. The project will stop once it gets there. If you're wondering why it stops at 300, it is because scratch will not allow any more than 300 individual sprites in one scratch project at once so it stops at 300. Oh, hey and this is a while after i uploaded this project, but I have put in V4.0 because I searched it up and apparently in 2026 (which the time of writing this) V4.0 is coming out so yeah, just that small change.