Smoothing out MaxStepHeight Behaviour

I’m currently trying to smooth out the character movement when walking into a stepped surface. After setting the MaxStepHeight, the capsule does snap up to the step. I managed to get a smoother movement working by offsetting the Mesh to the previous location of the capsule using VInterpTo. this works perfectly for steps or stepping up objects, but the issue is when walking on slopes, the mesh still offsets.

Any ideas on how to disable the interpolation when the character is on a slope and only enable it when stepping up within the MaxStepHeight rule? Is there an actual event or condition we can access when the capsule “snaps” up to the climbable ledge?