When you click on the green flag, there is a variable named "Random Sensing." When the value is set to 1, in which the rooster touches the egg, then the egg would hatch. If the value is set to 2, in which the hen touches the egg, then the egg would hatch. You can move the rooster by using the arrow keys, whereas the hen follows the mouse-pointer.
This project was made because of an assignment from the York College STEP Program concerning the implementation of sensing blocks.