Tom Felton is popularly known for portraying the role of Darco Malfoy in the "Harry Potter" franchise, but despite his character's attitude in the movies, the actor in real life was left terrified after an accident that happened on set.

In a video posted on his official Instagram account, promoting his memoir "Beyond the Wand: The Magic and Mayhem of Growing Up a Wizard," he was reprimanded by the late Alan Rickman while they were filming a scene for "Harry Potter and the Half-Blood Prince."

While on set, the actor accidentally stepped on the legend's black cloak, to which Rickman reportedly replied: "Don't step on my f****** cloak."

A post shared by instagram

At first, he laughed it off as he thought the late actor was joking at the time until he realized that he wasn't kidding. He described Rickman as "terrifying in the most pleasant way."

Despite feeling scared, production had to continue filming and he became cautious on where he was stepping his foot.

The accident happened after the director was keen for him to walk as close he could to the actor. Felton later noted that the cloak was attached to Rickman's neck and he "nearly killed the poor man" near the Great Hall.

Upon filming the scene again, somebody else stepped on the actor's long black cloak and Felton felt relieved as it took the heat away from him.

READ NOW: 'RHOBH' Snitch? Kyle Richards Accuses Erika Jayne of Press Leaks Amidst Drama

Alan Rickman's Death

In 2016, Alan Rickman passed away in London, United Kingdom, at the age of 69. He was reportedly surrounded by family and friends at the time of his death. The legend died after suffering from cancer. (via The Guardian)

Per the outlet, his recollections of working on the "Harry Potter" franchise are making rounds online and on the news after some parts of his diary have been complied and is set to be released as a book titled "Madly, Deeply: The Diaries of Alan Rickman" on October 18.

In one part of the book, he recalled filming one scene of "Harry Potter and the Goblet of Fire" for two days without doing anything except for standing very still, applauding twice, and watching the other actors dance.

On the other hand, Tom Felton's book, set to be released on October 13, will tackle his life on the big screen and with his family.

READ ALSO: Prince Harry Made Queen Elizabeth II Confused Two Years Before Heartbreaking Death