What is the best way to have an education in computer programming and 2D animation?

Hi everybody!

I’m currently enrolled in a community college (for Running Start at my school) and my current DTA is computer science. However, my dream job is to be an animation director (2D) but I was thinking computer science paired with animation would be a more stable pathway rather than just animation. I’m not sure how to go about this so I hope someone out there has a helpful answer!