This snippet should be used after an egg is laid, to make it hatch.
You will need an egg sprite, with a number of costumes before the egg is hatched – (stages of the egg cracking)
The code runs when the clone is created. The number in the repeat block is the amount of costumes – 1 that it has before it hatches. It then broadcasts a message ‘I am hatched’, and switches to the final, hatched costume
The code can be found here: