Change variable slider range within blueprints?

Hi guys, noobie here. I’m just wondering if it is possible to change the slider values within a construction function?

Say for example (very basic example), I had a cube and cylinder within a blueprint, and an instance editable variable called CylinderHeight, how would i set the slider range for CylinderHeight to not exceed the size of the cube?

I get that I could just scrap the slider and just set the cylinder height to the cube height if it exceeds it or something, but I am creating some tools to use within the editor so being able to set the slider range within a blueprint would be very helpful to the user, as by default using the mouse/drag to change a value sucks lol

Like I said this is a very basic example and my actual blueprints are far more complex and have ever changing variables based around instanced variables, but are probably not worth explaining here in this context lol

Something like this?