To provide an electronic device with high interest in which unexpected virtual life bodies appear so as to be captured.
An electronic device comprises a ROM 7 for storing the images of plural kinds of virtual life bodies, a reading control means (controller 3) for reading the image of one virtual life body among the plural kinds of virtual life bodies at a random timing, a display part 13 for displaying the image of the virtual life body read by the reading control means and a movement control means (controller 3) for moving the image of the virtual life body to be captured which is displayed on the display part 13 to the outside of a display screen from the inside of the display screen. When an operating part 15 is operated at a timing at which the image of the virtual life body to be captured exists in the display screen, the success of capture of the virtual life body to be captured is decided. Then, the image of the captured virtual life body is read from a RAM 9 in accordance with the operation of the RAM 9 for storing the image of the captured virtual life body and the operating part 15, and the image is displayed on the display part 13 so as to be viewed.