Trying to get alliance color in code

Hey, I’m currently trying to tell what alliance we’re on in code, but I can’t quite figure out how to do that.

If anyone knows how to do this, that’d be great.

1 Like

DriverStation.getAlliance() is what you’re looking for.

5 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.