behaving
When someone is behaving in a certain way, they are acting in a way that is typically considered polite and acceptable. This might include things like following the rules, being polite, and not making too much noise.
He was behaving very rudely by talking on his cell phone in the library.
She was behaving very nicely by waiting until everyone was done before she started her own conversation.