I believe that layer>transform>auto-orient will do the trick for you. Or here’s another
way around it if that works for you:
https://www.motionscript.com/design-guide/auto-orient-y-only.html
Joe Bourke
Owner/Creative Director
Bourke Media
http://www.bourkemedia.com