Swimming Fish

Kode:

[WHEN] "not", "on ground" [DO] "move", "at speed", "0.1"

[WHEN] "countdown timer", "5", "loop", "trigger on start" [DO] "random number", "as integer", "1", "to", "2"

[WHEN] "turn direction", "equal to", "1" [DO] "turn", "in direction", "right", "slowly"

[WHEN] "turn direction", "equal to", "2" [DO] "turn", "in direction", "left", "slowly"

[WHEN] "not", "swimming" [DO] "jump"