Cody is a main character, as well as Abby and Fig's brother, who only appeared in Barney's Great Adventure. Cody initially acts as the antagonist until the end of the film
Next to The Winkster in Barney Live! In New York City, Cody is the closest thing to an antagonist to Barney. While The Winkerster is a well-meaning person with a sense of humor, Cody is a mean kid and hates what he considers "kid stuff".