Double trouble! Matthew McConaughey pretends to smoke joint with Jimmy Buffett as he dances on stage while filming The Beach Bum

He plays a stoner in the upcoming comedy The Beach Bum.

And Matthew McConaughey was totally in character as he continued filming scenes for the upcoming film in Miami on Wednesday, pretending to puff away on a fake joint as he stood behind a microphone on stage alongside Jimmy Buffett.

Even Matthew's co-star, 70, pretended to smoke as well, flashing a relaxed smile as he sat beside the actor beside the beach while holding onto the faux joint.

Double trouble! Matthew McConaughey was totally in character as he continued filming scenes for the upcoming film in Miami on Wednesday, pretending to puff away on a fake joint as he stood behind a microphone alongside Jimmy Buffett

Double trouble! Matthew McConaughey was totally in character as he continued filming scenes for the upcoming film in Miami on Wednesday, pretending to puff away on a fake joint as he stood behind a microphone alongside Jimmy Buffett

Smoke break:?Even Matthew's co-star pretended to smoke as well, flashing a relaxed smile as he sat beside the actor beside the beach while holding onto the faux joint

Smoke break:?Even Matthew's co-star pretended to smoke as well, flashing a relaxed smile as he sat beside the actor beside the beach while holding onto the faux joint

The scene saw Matthew standing behind a microphone as he held a notebook and clutched the fake joint.?

Dressed from head-to-toe in his character's trademark funky wear, Matthew looked slightly disheveled as he wore a long blonde wig, unbuttoned tropical print shirt, and matching shorts. ?

The pair sure seemed to be having some fun as they hit the stage together, delighting the adoring audience.

Jimmy rocked a red T-shirt with palm tree design, bright neon blue shorts, and a hat.?

Good times! Buffett looked relaxed and happy as he took in the sunshine?

Good times! Buffett looked relaxed and happy as he took in the sunshine?

Crowd pleaser! The audience was delighted to hear Jimmy sing some tunes?

Crowd pleaser! The audience was delighted to hear Jimmy sing some tunes?

He's a star, too! Matthew shared the spotlight with Buffett, addressing the crowd from behind the microphone?

He's a star, too! Matthew shared the spotlight with Buffett, addressing the crowd from behind the microphone?

Strumming his guitar for the packed crowd, the hit-maker looked to be having the time of his life as he filmed the sun-soaked scene.

Matthew couldn't help but cut loose on stage too, looking relaxed and content as he danced about.

Matthew plays stoner Moondog in the film which also stars Isla Fisher as his wife, Bria Vinaite, and Ricky Diaz.?

He's got this!?The scene saw Matthew standing behind a microphone as he held a notebook and clutched the fake joint

He's got this!?The scene saw Matthew standing behind a microphone as he held a notebook and clutched the fake joint

Sole searching: The hit-maker performed barefoot on the stage

Sole searching: The hit-maker performed barefoot on the stage

He's got moves! Matthew was clearly having a blast, grooving about in front of the audience
He's got moves! Matthew was clearly having a blast, grooving about in front of the audience

He's got moves! Matthew was clearly having a blast, grooving about in front of the audience

Directed by Harmony Korine, the film is about Moondog's approach to life.?

Matthew has been in Miami with his family as he films the role.?

The actor has been married to Camila Alves since 2012.

Together they have sons Livingston, four, Levi, nine, and daughter Vida, seven. ?

Shake it! McConaughey couldn't help but cut loose a little on stage as Jimmy sang?

Shake it! McConaughey couldn't help but cut loose a little on stage as Jimmy sang?

Man to man: The pair looked to be engrossed in some thought-provoking conversation?

Man to man: The pair looked to be engrossed in some thought-provoking conversation?

The comments below have not been moderated.

The views expressed in the contents above are those of our users and do not necessarily reflect the views of MailOnline.

What's This?

By posting your comment you agree to our house rules.