Do you mean that your mic is noisy and you want to avoid that noise being recorded when you are not actually talking?
If the game / chat app that you are using has a push to talk feature, we'd normally recommend using that instead. Unless you are recording something that doesn't have its own push to talk?