In Batman Forever, Jim Carrey played the role of The Riddler, also known as Edward Nygma. The Riddler is a criminal mastermind who uses his superior intellect and love for puzzles and riddles to outsmart Batman and the police. Carrey's portrayal of The Riddler received mixed reviews, but his eccentric and over-the-top performance remains a memorable part of the movie.