Canvas __ platformer MOBILE FRIENDLY

Instructions: Reshared because you need to DOUBLE CLICK THE GREEN FLAG\n\nWHOA! I WOKE UP WITH 250 MESSAGES! \nThanks to the great @CosmicKiwi for curating this! T u T\n\n\nFinally, after lots of invested effort, @bluegummybear123 and @Yingkai_Shao bring to you...\n\n                         ==Canvas==\nArrow keys to move\n\n\nDraw patterns!

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nwait (1) seconds\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [win v]\nstart sound [Winning-sound-effect v]\nswitch backdrop to (backdrop3 v)\nhide variable [time v]\nstop [all v]\n\n@Player\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen [left arrow v] key pressed\nswitch costume to (costume2 v)\n\nwhen [right arrow v] key pressed\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\n\nwhen I receive [estop v]\nhide\nstop [other scripts in sprite v]\nhide\n\nwhen I receive [next level v]\nset [yv v] to [0]\nset [xv v] to [0]\ngo to x: (-200) y: (0)\nset [ghost v] effect to (0)\n\nwhen flag clicked\nset pen color to (pick random (1) to (200))\npen down\npoint in direction (90)\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    set size to (size) %\n    set [size v] to [100]\n    show\n    set rotation style [all around v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <key (right arrow v) pressed?>> then\n        change [xv v] by (1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (levels v)?> then\n        change y by (1)\n        if <touching (levels v)?> then\n            change y by (1)\n            if <touching (levels v)?> then\n                change y by (1)\n                if <touching (levels v)?> then\n                    change y by (1)\n                    if <touching (levels v)?> then\n                        change y by (1)\n                        if <touching (levels v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-7]\n                                else\n                                    set [xv v] to [7]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (levels v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <key (up arrow v) pressed?>> then\n            set [yv v] to [17]\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    set [yv v] to ((Yv) * (0.99))\n    change y by (Yv)\n    if <touching (levels v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    hide variable [xv v]\n    if <(x position) > [230]> then\n        broadcast (next level v)\n        pen up\n        erase all\n        wait (0.1) seconds\n        pen down\n    end\n    if <(y position) < [-170]> then\n        go to x: (-200) y: (0)\n    end\n    if touching\nend\n\nwhen flag clicked\nwait (1) seconds\ngo to x: (-200) y: (0)\nerase all\n\ndefine if touching\nif <touching (bad v)?> then\n    broadcast (Red v)\n    repeat (10)\n        turn right (5) degrees\n        change [size v] by (-10)\n        set size to (size) %\n        erase all\n        pen up\n        wait (0.01) seconds\n        pen down\n    end\n    set [yv v] to [0]\n    set [xv v] to [0]\n    set size to (100) %\n    set [ghost v] effect to (0)\n    go to x: (-200) y: (0)\n    point in direction (90)\nend\nif <touching (bounce v)?> then\n    set [yv v] to [20]\nend\nif <touching (rapidness v)?> then\n    set [xv v] to [21]\nend\n\nwhen I receive [win v]\ntechnoblade12455\n\ndefine technoblade12455\nrepeat (20)\n    delete this clone\nend\nhide\nforever\n    erase all\nend\n\n@Levels\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (lvl1 v)\n\nwhen I receive [next level v]\nerase all\nnext costume\n\nwhen I receive [red v]\nerase all\n\nwhen I receive [win v]\nhide\n\n@Bad\n\nwhen flag clicked\nswitch costume to (lvl1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Bounce\n\n@Sanic\n\n@Sprite1\n\nwhen flag clicked\nhide variable [☁ best time v]\nhide variable [display_time v]\nswitch costume to (costume2 v)\nshow variable [time v]\nreset timer\nrepeat until <([costume # v] of [levels v]) = [11]>\n    set [time v] to ((round ((timer) * (100))) / (100))\nend\npepe123\n\nwhen flag clicked\nforever\n    play sound [Dutty v] until done\nend\n\nset [☁ best time v] to [999]\n\ndefine pepe123\nbroadcast (win v)\nset [display_time v] to (time)\nif <(☁ best time) > (time)> then\n    set [☁ best time v] to (time)\nend\nshow variable [☁ best time v]\nshow variable [display_time v]\n\n