✅ Solved: Quick question re: data binding/interpolator

Hello!

I’m still super new to data binding, and am trying to wrap my head around what I think is a pretty basic problem.

I have a simple setup of a button that controls the height of a bar depending on how long it has been pressed. When the button is pressed, the value is set to 100, and when released it’s set to 0. I’ve used an interpolator to show easing/momentum between the minimum and maximum, and visually it’s close to what I was going for.

However, the actual value being reported/displayed is either 0 or 100- and I’m guessing that’s simply down to how I’ve set things up.

Is there a better way to tweak things that would achieve similar results visually while actually show the bar height/value in ‘real time’ too?

Apologies for the butchered explanation- any help would be really appreciated! 😊


Screen Recording 2025-05-13 at 15.45.25.mov