Three-year-old Beau Randall was cheered up by Wallace and Gromit during their visit to Edinburgh's Royal Hospital for Sick Children.
The Edinburgh youngster received a gift from the larger-than-life characters during their nationwide tour aimed at encouraging people to take part in Wrong Trousers Day on June 29.
Groups can club together and pay £1 each to go to work or school wearing inappropriate trousers for the day to raise money for children's hospitals and hospices.
Last year's event raised £10,000 for the Sick Kids Hospital, which will be used to fund housekeeping services at the hospital.