A man was playing with a toy gun in the room and made a thumping sound when he pulled the trigger.