The film's script was written by Will Hirsch, Ehren Kruger, and John Logan, who drew inspiration from the first film, as well as Kevin Flynn's character arc. The story follows Sam Flynn, Kevin's son, who enters the Grid, a digital world created by his father. Within this virtual realm, Sam encounters a powerful program, Clu (played by Cillian Murphy), who seeks to conquer both the Grid and the real world.