Duchess Kate, Princes William and Harry tour Harry Potter sets

The Duke and Duchess of Cambridge proved they had the magic touch Friday at the official opening of London’s Warner Bros. studio, where Prince Harry joined the royal muggles on a tour of the set of the Harry Potter movies.

The royal parents-to-be clearly appeared to enjoy themselves as they squared off in a magic duel, as captured in a Tweet picture by one fan.

Prince Harry then joined them in raising their wands along Diagon Alley.

LONDON, ENGLAND - APRIL 26:  Prince Harry, Catherine, Duchess of Cambridge and Prince William, Duke of Cambridge raise their wands on the set used to ... Chris Jackson / Getty Images
Prince Harry, Catherine, Duchess Kate and Prince Williamraise their wands on the set used in the Harry Potter Films.

Kate, now about six months pregnant, didn’t need any magic to have folks seeing spots during the tour. The Duchess wore a $76 black-and-white polka dot spring dress from Topshop that showed off her baby bump.

The trio also toured the studio's other movie sets, including the latest Batman movie. Harry especially seemed captivated by the costume worn by the Dark Knight.

LONDON, ENGLAND - APRIL 26:  Catherine, Duchess of Cambridge looks at the costume for the character Hagrid on display on the set used to depict Hogwar... Chris Jackson / Getty Images
Duchess Kate examines a costume during a tour of the Harry Potter set.
LONDON, ENGLAND - APRIL 26: Prince Harry looks at a 'Batsuit' which was use in the Batman films during the Inauguration Of Warner Bros. Studios Leaves... Chris Jackson / Getty Images
Prince Harry stares deep into the eyes of the Dark Knight.
Catherine, Duchess of Cambridge (R) watches as Prince William, Duke of Cambridge sits on the 'Batpod'  during their visit at the Warner Brother's stud... CHRIS JACKSON / AFP - Getty Images
Prince William gives his wife a chuckle riding on a motorcycle from the set of the Batman movie franchise.
Your video begins in