It's so genius that Inside Out 2 uses Anxiety as an antagonising character that opposes Joy, Sadness, Fear, Disgust and Anger without making her an antagonist, or villain. She is trying to protect Riley just like they are, but she is so caught up in her own ways that she doesn't see the bigger picture. And that's exactly what anxiety feels like.
When she realises this, it causes a panic attack (which is also beautifully depicted) and she spirals.
Anxiety is a genius character, and it is so important to me that the other emotions don't attempt to push her out of Headquarters or out of Riley's life but instead find ways of coping with her.
Because Anxiety shouldn't control your life, but she will still be in your life. And it is possible to live with anxiety.