Team switch

Just wondering, when you’re in custom games, is there anyway to switch teams?
I know in game you can pause and switch from there but is there a way to do it in the lobby?