Make variable not recordable for animation clip recorder

I making component which is helping to animate some stuff, I have there bool switches to change some modes, when I want to record animation clip, animation also capturing this “bool animation tool switches” but I don’t want it to be animated at all. Is there way to set variables to be not capturable for animator clip recorder? I was searching for it so long and nothing found :confused:

I know it has been a while, but for anyone coming back to this question, the answer is the NotKeyableAttribute.