You're referring to Teen Titans Go! To the Movies (2018). The team travels to Hollywood seeking a film deal, with Robin especially desperate for recognition and his own movie.
A meta-comedy about superhero movie saturation, IP exploitation, and the hunger for validation. Robin's arc—learning he doesn't need a movie to matter—is the emotional core beneath the gags.