It's a toddler's dream: locked in a world of lollipops.
But the situation rapidly turned into a mother's nightmare as two-year-old Cohen Stone became trapped inside an arcade machine.
Attracted by the colourful prizes of sweets and teddy bears, Cohen somehow managed to climb up inside the glass case.
Top prize: Cohen Stone, two, crawled into a candy machine at a restaurant in Perth, Australia, through the tiny trap door
But once nestled among his booty, the tot realised there was no way out - causing a frantic rescue effort at the restaurant where his mother Kyra, 24, had taken him to a birthday party.
The group of nine had chosen the venue specifically for its children's play area to entertain scamp Cohen.
More...
One giant leap for toy kind: Buzz Lightyear was first on the moon, say one in ten schoolchildren
But after taking her eye off the toddler for two minutes, Kyra turned to discover Cohen had become one of the prizes to be won among the sweets and soft teddy bears.
Kyra, from Perth in Western Australia, said: 'I had been playing with him in the children's area but took my eye off him for two minutes as the food arrived at our table.
'When I turned back, he was inside the machine. My first thought was "Oh my God".
'I just couldn't believe what he had done in that space of time. He was there one minute, inside it the next, like a magician's trick.
'At first I wasn't too stressed. I started to search the back of the machine for a big hole he must have climbed through, then on top of the machine.
'It was then that I realised he must have climbed through a small hatch where you collect your prize from and got in through that way. It was the only way inside.
'The hole was tiny. I have no idea how he did it. That's when I started to panic. I didn't know how I was going to get him out.'
Customers and even workers - including the chef - at Siena's restaurant gathered around the toddler in disbelief.
Kyra said: 'The restaurant owner called his wife to bring keys for the machine, but when she arrived there were no keys that fit the lock.
'Then workers phoned the hire company who owned the machine.'
Help! The toddler could not get back out again and was only rescued after a blacksmith was called to break open the lock
She added: 'I was trying to keep calm myself and keep Cohen happy. I made up a game where I told him to throw the teddy bears down the chute where he had climbed up and told him he could eat one of the lollies he was sitting on.
'He was getting very hot from being inside the machine, especially with all the lights.
'So I got the machine turned off, opened the hatch and was trying to fan him with one of the restaurant's menus.
'It was steaming up inside but we eventually got a fan turned on, facing the machine.'
A customer also phoned a local locksmith. He arrived within minutes but didn't have the right tools with him.
After going back to his workshop, he returned and was able to open the arcade machine door.
Kyra, who works at a country golf club, said: 'Cohen was in the machine for about 45 minutes but it felt like hours and hours.
Sweet-toothed toddler climbs INSIDE lolly machine to guzzle sweets... and gets trapped inside | Mail Online