Removing blending between two animations for only certain parameters

Hi. I am animating some sprites and I’m using the animator to change the value of a script that handle sprite swaps.

I’ve already modified the curves of those parameters so that during an animation, when parameters goes from 0 to 4, it will do so in a single frame and without going through 0->1->2->3->4-

I now want to solve the problem when the animator switches state. If my parameters was at 5 at the end of one state and at 3 at the start of the new state, I don’t want my parameter to go : 5->4->3. I want it to switch to instantly.

I still want to use blending for other parameters and Ideally I’d like to keep avoid separating my animations in-between different animation files. Any ideas about a way I could solve this? Thanks.

I did not find a solution to avoid blending for certain parameters.

However, I did find a workaround for my issue. On the script that contains the value, I have a reference to my animator and I stop the update of the sprites whenever I’m in transition. This is not an ideal solution but it’s better than removing blending altogether or making the workflow a lot harder by separating the sprites swaps and the animations.