Last year, actor Chris Hemsworth confirmed that he almost chose not to play Thor. Now, Hemsworth says he'd like to go back in time and slap his younger self for almost passing on the role.

RELATED: This Thor: Ragnarok Concept Art Looks Nothing Like Thor

"I might've had a hesitation, and I kind of want to get a time machine and go back and slap that younger, pretentious version of myself," Hemsworth told Jimmy Fallon on The Tonight Show. "I was trying to be an artist. I was like, 'Oh, I want to do independent films. It's too big! It's a franchise!' No. I love that character. I've loved this experience. It's been the best. I think my hesitation was just that I had no idea what it was going to be or whether it was going to be a good experience or bad. Thankfully, it was the best experience I've ever had."

The most recent film in the franchise, Thor: Ragnarok, met with critical praise upon its release and went on to earn over $800 million worldwide at the box office. Hemsworth's contract with Marvel Studios ends with Avengers 4 in 2019. However, the actor has left open the possibility of returning as the God of Thunder. Hemsworth also confirmed earlier this month that he talked with Ragnarok director Taika Waititi about a potential fourth installment in the Thor franchise.

RELATED: Tessa Thompson Reacts to Thor: Ragnarok Valkyrie's Comics Debut

Hemsworth's next appearance as Thor will be in Avengers: Infinity War, which arrives in theaters on May 28. Directed by Joe and Anthony Russo, the film also stars Robert Downey Jr. as Iron Man, Chris Evans as Captain America, Mark Ruffalo as the Hulk, Jeremy Renner as Hawkeye, Scarlett Johansson as Black Widow, Anthony Mackie as the Falcon, Paul Rudd as Ant-Man, Elizabeth Olsen as Scarlet Witch, Tom Holland as Spider-Man, Benedict Cumberbatch as Doctor Strange, Chadwick Boseman as Black Panther, Chris Pratt as Star Lord, Zoe Saldana as Gamora, Dave Bautista as Drax, Bradley Cooper as Rocket, Vin Diesel as Groot, Tom Hiddleston as Loki and Josh Brolin as Thanos.