Ice land ll Platformer ll Part 1 #Games #All

Instructions: ❗ New project out ❗ \n\n>> Flag x10000\n>> Space key or click to skip the intro\n>> PLAY ON PC OR ELSE IT WILL CRASH UR DEVICE\n>>Arrow keys to move \n>> DO NOT COPY THIS!\n>>Enjoy!\n\nThanks to:\nMe for the code and graphics\nAlan walker & NCS for the song\n@abhi-123 4 the ground art\n@Gayanindu_P 4 the contest\n@Invisity 4 the AWESOME INTRO\n@Bestcoconut 4 the background\n\n[This is an entry for a contest}\n\nPart 2 - \nhttps://scratch.mit.edu/projects/553993675

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [*play* v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [intro done v]\nforever\n    play sound (pick random (1) to (10)) until done\nend\n\n@Player\n\nwhen flag clicked\nset [level: v] to [1]\nforever\n    if <touching (sprite3 v)?> then\n        go to x: (-197) y: (9)\n        broadcast (Next level v)\n        next backdrop\n        change [level: v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<touching color (#ff0000)?> or <touching (sprite9 v)?>> or <<touching color (#ea0000)?> or <<touching (sprite12 v)?> or <<touching (sprite7 v)?> or <touching (sprite5 v)?>>>>> then\n        go to x: (-197) y: (9)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [*play* v]\nshow\ngo to x: (-197) y: (9)\nset [x script v] to [0]\nset [y script v] to [0]\nforever\n    if  then\n        change [x script v] by (1)\n    end\n    if  then\n        change [x script v] by (-1)\n    end\n    set [x script v] to ((X Script) * (0.9))\n    change x by (X Script)\n    if <touching (sprite6 v)?> then\n        change y by (1)\n        if <touching (sprite6 v)?> then\n            change y by (1)\n            if <touching (sprite6 v)?> then\n                change y by (1)\n                if <touching (sprite6 v)?> then\n                    change y by (1)\n                    if <touching (sprite6 v)?> then\n                        change y by (1)\n                        if <touching (sprite6 v)?> then\n                            change x by ((X Script) * (-1))\n                            change y by (-5)\n                            if  then\n                                if <(X Script) > [0]> then\n                                    set [x script v] to [-5]\n                                else\n                                    set [x script v] to [5]\n                                end\n                                set [y script v] to [10]\n                            else\n                                set [x script v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y script v] by (-1)\n    change y by (Y Script)\n    if <touching (sprite6 v)?> then\n        change y by ((Y Script) * (-1))\n        set [y script v] to [0]\n    end\n    change y by (-1)\n    if <touching (sprite6 v)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y script v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <not <<key (right arrow v) pressed?> or <<key (left arrow v) pressed?> or <key (up arrow v) pressed?>>>> then\n        switch costume to (player v)\n    end\n    if <<key (right arrow v) pressed?> and <key (up arrow v) pressed?>> then\n        switch costume to (player5 v)\n    end\n    if <<key (left arrow v) pressed?> and <not <key (up arrow v) pressed?>>> then\n        switch costume to (player3 v)\n    end\n    if <<key (right arrow v) pressed?> and <not <key (up arrow v) pressed?>>> then\n        switch costume to (player2 v)\n    end\n    if <<key (up arrow v) pressed?> and <<not <key (right arrow v) pressed?>> or <not <not <key (left arrow v) pressed?>>>>> then\n        switch costume to (player4 v)\n    end\n    if <<key (left arrow v) pressed?> and <key (up arrow v) pressed?>> then\n        switch costume to (player6 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (sprite11 v)?> then\n        set [y script v] to [18]\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    wait (0.000001) seconds\nend\n\nwhen I start as a clone\nset size to (100) %\nrepeat (10)\n    switch costume to (player7 v)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\n@Intro\n\ndefine Clone (number) of (id)\nset [clone id v] to (id)\nrepeat (number)\n    create clone of (_myself_ v)\nend\n\ndefine Cam (x) (y) (size) (direction)\nset [\[intro\] x v] to (x)\nset [\[intro\] y v] to (y)\nset [\[intro\] size v] to (size)\nset [\[intro\] direction v] to (direction)\n\ndefine Green flag\nrepeat (10)\n    reset timer\nend\nhide\ngo to x: (0) y: (0)\nset size to (100) %\npoint in direction (90)\nswitch costume to (blank v)\nCam [0] [0] [0] [0]\n\ndefine Smooth glide (x) (y) (size) (speed)\nset [costume v] to (costume [name v])\nswitch costume to (position v)\nchange x by (((x) - (x position)) / (speed))\nchange y by (((y) - (y position)) / (speed))\nif <(size) < [101]> then\n    switch costume to (full size v)\nelse\n    switch costume to (blank v)\nend\nchange size by (((size) - (size)) / (speed))\nswitch costume to (costume)\n\ndefine Position\npoint in direction ((\[Intro\] Direction) + (direction))\nset [costume v] to (costume [name v])\nswitch costume to (position v)\ngo to x: ((x) + (\[Intro\] X)) y: ((y) + (\[Intro\] Y))\nif <(size) < [101]> then\n    switch costume to (full size v)\nelse\n    switch costume to (blank v)\nend\nset size to ((\[Intro\] Size) + (size)) %\nswitch costume to (costume)\n\ndefine Line explosion (x) (y) (size) (speed) (number)\nset [x v] to (x)\nset [y v] to (y)\nset [size v] to (size)\nset [speed v] to (speed)\nset [direction v] to [0]\nrepeat (number)\n    change [direction v] by ((360) / (number))\n    Clone [1] of [Line explosion]\nend\nset [direction v] to [0]\n\nwhen I start as a clone\nif <(Clone ID) = [Line explosion]> then\n    if <(\[Intro\] Playing?) = [1]> then\n        go to [front v] layer\n        go to x: (x) y: (y)\n        point in direction (direction)\n        move ((speed) * (3)) steps\n        set size to (size) %\n        switch costume to (line explosion1 v)\n        show\n        repeat (11)\n            move (speed) steps\n            next costume\n        end\n    end\n    delete this clone\nend\n\ndefine Shockwave (x) (y) (size) (end)\nset [x v] to (x)\nset [y v] to (y)\nset [size v] to (size)\nset [speed v] to (end)\nClone [1] of [Shockwave]\n\nwhen I start as a clone\nif <(Clone ID) = [Shockwave]> then\n    if <(\[Intro\] Playing?) = [1]> then\n        go to x: (x) y: (y)\n        go to [front v] layer\n        set size to (size) %\n        set [effect v] to [12]\n        switch costume to (shockwave v)\n        show\n        repeat (35)\n            change [fisheye v] effect by (effect)\n            Smooth glide (x) (y) (speed) [5]\n            change [effect v] by ((effect) / (4))\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (Clone ID) contains [Particle]?> then\n    if <(\[Intro\] Playing?) = [1]> then\n        go to [front v] layer\n    end\n    switch costume to (join [Particle] (pick random (1) to (3)))\n    set size to (pick random (80) to (120)) %\n    set [y v] to [0]\n    show\n    if <(Clone ID) = [Particle]> then\n        go to x: (0) y: (0)\n    else\n        go to (random position v)\n    end\n    point in direction (pick random (-180) to (1808))\n    repeat (50)\n        change [ghost v] effect by (2)\n        move ((size) / (7)) steps\n        change size by (-2)\n        change y by (y)\n        change [y v] by (-0.5)\n        if <touching (_edge_ v)?> then\n            repeat (10)\n                change [ghost v] effect by (15)\n                move ((size) / (7)) steps\n                change size by (-2)\n                change y by (y)\n                change [y v] by (-0.5)\n            end\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\ndefine Shake size (size)\nset [size v] to ((((size) - (size)) / (5)) + ((size) * (0.8)))\n\nwhen I start as a clone\nif <(Clone ID) = [Spin]> then\n    go to x: (x) y: (y)\n    set size to (size) %\n    show\n    point in direction (direction)\n    switch costume to (spin v)\n    repeat (17)\n        Position\n        next costume\n    end\n    delete this clone\nend\n\ndefine Spin (size)\nset [size v] to (size)\nset [x v] to [0]\nset [y v] to [50]\nset [direction v] to [90]\nClone [1] of [Spin]\nset [x v] to [0]\nset [y v] to [-50]\nset [direction v] to [90]\nClone [1] of [Spin]\nset [y v] to [0]\n\nwhen I start as a clone\nif < (Clone ID) contains [Spline]?> then\n    if < (Clone ID) contains [B]?> then\n        set [brightness v] effect to (100)\n    end\n    wait until <(timer) > [6.7]>\n    if <(\[Intro\] Playing?) = [1]> then\n        go to [front v] layer\n        go [backward v] (1) layers\n    end\n    repeat until <(timer) > (\[Intro\] End time)>\n        set [speed v] to [0.1]\n        wait (0.4) seconds\n    end\nend\n\nwhen I start as a clone\nif < (Clone ID) contains [Spline]?> then\n    switch costume to (spline v)\n    set [speed v] to [0.2]\n    repeat until <(timer) > (\[Intro\] End time)>\n        if <(timer) > [5.5]> then\n            show\n        end\n        go to x: (([sin v] of ((Splines) * (200)) ) * (200)) y: (([cos v] of ((Splines) * (300)) ) * (75))\n        change [splines v] by (speed)\n        change [speed v] by (((0.02) - (speed)) / (5))\n    end\n    delete this clone\nend\n\ndefine Spline\nswitch costume to (full size v)\nset size to (100) %\nrepeat (20)\n    Clone [1] of [Spline]\n    change size by (-5)\nend\nset size to (100) %\nwait (0.8) seconds\nset size to (100) %\nrepeat (20)\n    Clone [1] of [SplineB]\n    change size by (-5)\nend\nset size to (100) %\nwait (0.8) seconds\n\nwhen flag clicked\nset [\[intro\] playing? v] to [0]\nhide\n\ndefine Horizontal switch\nset [size v] to [75]\nset [x v] to [0]\nset [y v] to [0]\nset [direction v] to [90]\nClone [1] of [Spin]\nwait (0.07) seconds\nSpin [75]\n\nwhen I start as a clone\nif <(Clone ID) = [Circle]> then\n    set size to (0) %\n    switch costume to (particle3 v)\n    set [brightness v] effect to (100)\n    show\n    repeat (50)\n        if <(\[Intro\] Playing?) = [1]> then\n            go to [front v] layer\n            Smooth glide [0] [0] [5000] [10]\n        else\n            delete this clone\n        end\n    end\n    Keyframe [5.5]\n    set size to (100) %\n    switch costume to (start circle v)\n    repeat (50)\n        if <(\[Intro\] Playing?) = [1]> then\n            go to [front v] layer\n            Smooth glide [0] [0] [3000] [10]\n        else\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\ndefine Keyframe (time)\nrepeat until <(timer) > (time)>\n    if <(timer) > (\[Intro\] End time)> then\n        stop [this script v]\n    end\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending1]> then\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (999) y: (-999)\n    point in direction (90)\n    switch costume to (ending2 v)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending2]> then\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (-999) y: (999)\n    point in direction (-90)\n    switch costume to (ending2 v)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending3]> then\n    wait (0.2) seconds\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (999) y: (-999)\n    switch costume to (ending1 v)\n    point in direction (90)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending4]> then\n    wait (0.2) seconds\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (-999) y: (999)\n    point in direction (-90)\n    switch costume to (ending1 v)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending5]> then\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (-999) y: (-999)\n    point in direction (90)\n    switch costume to (ending4 v)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending6]> then\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (999) y: (999)\n    point in direction (-90)\n    switch costume to (ending4 v)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending7]> then\n    wait (0.2) seconds\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (-999) y: (-999)\n    point in direction (90)\n    switch costume to (ending3 v)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending8]> then\n    wait (0.2) seconds\n    set size to (100) %\n    switch costume to (position v)\n    go to x: (999) y: (999)\n    point in direction (-90)\n    switch costume to (ending3 v)\n    show\n    repeat (100)\n        Smooth glide [0] [0] [100] [11]\n    end\n    go to x: (0) y: (0)\n    broadcast (Intro done v)\n    set [\[intro\] end time v] to (timer)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\ndefine Ending\nClone [1] of [Ending1]\nClone [1] of [Ending2]\nClone [1] of [Ending3]\nClone [1] of [Ending4]\nClone [1] of [Ending5]\nClone [1] of [Ending6]\nClone [1] of [Ending7]\nClone [1] of [Ending8]\n\nwhen I start as a clone\nif <(Clone ID) = [Text]> then\n    switch costume to (text v)\n    go to [front v] layer\n    go to x: (0) y: (0)\n    wait (1) seconds\n    show\n    set [size v] to [100]\n    set [direction v] to [90]\n    repeat until <(timer) > (\[Intro\] End time)>\n        Position\n        if <<<(timer) > [6.7]> and <(timer) < [8]>> and <(\[Intro\] End time) = [1]>> then\n            go to [front v] layer\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Cam]> then\n    set [\[intro\] direction v] to [0]\n    repeat until <(timer) > [10]>\n        if <(timer) < (\[Intro\] End time)> then\n            turn right ((((([cos v] of ((timer) * (300)) ) * (20)) + (0)) - (direction)) / (5)) degrees\n            change [\[intro\] size v] by ((((([cos v] of ((timer) * (200)) ) * (30)) + (0)) - (\[Intro\] Size)) / (4))\n            set [\[intro\] direction v] to (direction)\n        else\n            delete this clone\n        end\n    end\n    set [direction v] to [1]\n    repeat (15)\n        if <(timer) < (\[Intro\] End time)> then\n            change [direction v] by ((direction) / (3))\n            turn right (direction) degrees\n            set [\[intro\] direction v] to (direction)\n            change [\[intro\] size v] by ((((([cos v] of (((timer) - (50)) * (200)) ) * (30)) + (0)) - (\[Intro\] Size)) / (4))\n        else\n            delete this clone\n        end\n    end\n    repeat (10)\n        if <(timer) < (\[Intro\] End time)> then\n            turn right ((((([cos v] of ((timer) * (300)) ) * (20)) + (0)) - (direction)) / (5)) degrees\n            change [\[intro\] size v] by ((((([cos v] of ((timer) * (200)) ) * (30)) + (0)) - (\[Intro\] Size)) / (4))\n            set [\[intro\] direction v] to (direction)\n        else\n            delete this clone\n        end\n    end\n    if <(\[Intro\] Playing?) = [1]> then\n        Clone [1] of [Ending]\n    else\n        delete this clone\n    end\n    repeat until <(timer) > (\[Intro\] End time)>\n        if <(timer) < (\[Intro\] End time)> then\n            turn right ((((([cos v] of ((timer) * (300)) ) * (20)) + (0)) - (direction)) / (5)) degrees\n            change [\[intro\] size v] by ((((([cos v] of ((timer) * (200)) ) * (30)) + (0)) - (\[Intro\] Size)) / (4))\n            set [\[intro\] direction v] to (direction)\n        else\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Ending]> then\n    Ending\n    delete this clone\nend\n\nwhen I start as a clone\nif < (Clone ID) contains [Ending]?> then\n    go to [front v] layer\n    if <(letter (7) of (Clone ID)) > [6]> then\n        forever\n            go to [front v] layer\n            go [forward v] (100000) layers\n        end\n    end\nend\n\nwhen I start as a clone\nif < (Clone ID) contains [Hex]?> then\n    switch costume to (hexagon v)\n    if < (Clone ID) contains [B]?> then\n        switch costume to (hexagon2 v)\n    end\n    set [size v] to [0]\n    go to x: (0) y: (0)\n    show\n    if <(timer) < [4]> then\n        delete this clone\n    end\n    repeat (100)\n        change [size v] by (10)\n        Position\n        if <(timer) > (\[Intro\] End time)> then\n            delete this clone\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [PCloner]> then\n    wait (2) seconds\n    repeat (10)\n        if <(pick random (1) to (2)) = [1]> then\n            Clone (pick random (20) to (30)) of [Particle]\n        else\n            Clone (pick random (20) to (30)) of [Particles]\n        end\n        hide\n        wait (0.3) seconds\n    end\n    delete this clone\nend\n\nwhen I receive [start intro v]\nset [\[intro\] end time v] to [13.5]\nGreen flag\nKeyframe [4]\nstart sound [Sonder - Departure v]\nset [\[intro\] playing? v] to [1]\nClone [1] of [Circle]\nClone [1] of [Text]\nClone [1] of [Cam]\nClone [1] of [PCloner]\nSpline\nKeyframe [7]\nLine explosion [-140] [80] [100] [10] [10]\nLine explosion [140] [-80] [100] [10] [10]\nset [x v] to [0]\nset [y v] to [0]\nwait (1) seconds\nLine explosion [140] [80] [100] [10] [10]\nLine explosion [-140] [-80] [100] [10] [10]\nShockwave [0] [0] [0] [500]\nset [x v] to [0]\nset [y v] to [0]\nwait (2) seconds\nLine explosion [0] [0] [100] [20] [15]\nset [x v] to [0]\nset [y v] to [0]\n\nwhen I receive [start intro v]\nwait (4) seconds\nrepeat until <(timer) > (\[Intro\] End time)>\n    hide\n    Clone [1] of [Hex]\n    repeat (15)\n        set size to (size) %\n    end\n    Clone [1] of [HexB]\n    repeat (15)\n        set size to (size) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<mouse down?> or <key (space v) pressed?>> and <(timer) < (\[Intro\] End time)>> then\n        set [\[intro\] playing? v] to [0]\n        Ending\n        stop [this script v]\n    end\nend\n\nwhen I receive [intro done v]\nset [\[intro\] playing? v] to [0]\nstop all sounds\nif <not < (Clone ID) contains [Ending]?>> then\n    delete this clone\nend\n\nwhen flag clicked\nbroadcast (Start intro v)\n\n@Sprite1\n\nwhen flag clicked\nshow\n\nwhen I receive [intro done v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [intro done v]\nshow\n\nwhen I receive [*play* v]\nhide\n\nwhen I receive [intro done v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (10)\n    else\n        clear graphic effects\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nset [ghost v] effect to (100000)\nshow\n\nwhen I receive [stop v]\nhide\n\n@Sprite5\n\nwhen flag clicked\nforever\n    turn right (3) degrees\nend\n\nwhen flag clicked\nswitch costume to (costume3 v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\n\n@Sprite6\n\nwhen flag clicked\nhide\nswitch costume to (costume8 v)\n\nwhen I receive [*play* v]\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (Stop v)\n    end\nend\n\n@Sprite8\n\nwhen flag clicked\nhide\n\nwhen I receive [credit v]\nshow\n\nwhen this sprite clicked\nhide\nbroadcast (Hide v)\n\n@Sprite9\n\nwhen flag clicked\nforever\n    turn right (3) degrees\nend\n\nwhen flag clicked\nswitch costume to (costume3 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite10\n\nwhen flag clicked\nhide\nforever\n    glide (0.5) secs to x: (36) y: (36)\n    glide (0.5) secs to x: (36) y: (28)\nend\n\nwhen I receive [*play* v]\nshow\n\nwhen I receive [intro done v]\nbroadcast (*Play* v)\n\n@Sprite11\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nshow\nnext costume\n\n@Sprite4\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nshow\nnext costume\n\nwhen flag clicked\ngo to x: (31) y: (78)\nforever\n    glide (0.3) secs to x: (31) y: (-132)\n    glide (1) secs to x: (31) y: (78)\n    wait (1) seconds\nend\n\n@Sprite7\n\nwhen flag clicked\nforever\n    turn right (3) degrees\nend\n\nwhen flag clicked\nswitch costume to (costume3 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite12\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    point in direction (90)\n    glide (1) secs to x: (-98) y: (-73)\n    point in direction (-90)\n    glide (1) secs to x: (142) y: (-73)\nend\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite13\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    point in direction (90)\n    glide (0.6) secs to x: (-17) y: (111)\n    point in direction (-90)\n    glide (0.6) secs to x: (173) y: (111)\nend\n\nwhen I receive [next level v]\nnext costume\n\n@THUMBY\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\n\n@Icon\n\nwhen flag clicked\nhide\n\n