Jamie Foxx circles role in 'Amazing Spider-Man 2'

"The Amazing Spider-Man" sequel might've found its villain in Jamie Foxx.

The actor, according to Variety, is in early talks to play the bad guy in the Marc Webb-directed feature. As of now, it looks like producers are hoping to see Foxx as Electro, the alter-ego of Max Dillon who can control electricity.

Funnily enough, Foxx has already had a little practice in character, as Electro just so happened to be his costume choice for Halloween. "Dressed up as Electro for Halloween last night," Foxx tweeted Thursday. "Costume fits well."

Director Webb, in response to Foxx's sly tweet, quipped to the Huffington Post, "I think he's electrifying."

"I can't go into it in too much detail," Webb continued, "except to say that I think Jamie Foxx is one of our great living actors. He's a star, but he's a brilliant character actor. I mean, all of the way back to the days of 'In Living Color,' I think he's done some pretty exceptional work."