Update box geometry parameters in real time

Hi everyone,
I’m trying to gradually update a box geometry parameters of width and height segments values using Gsap. But I can’t find the right way to update the geometry in real-time with the change of value.
I also tried updateMatrix + to recall geometry.needsUpdate. but nothing works.
Any advice on how I should approach this?

Thank you :sob::raised_hands:t5:

This attachment uses regular Geometry ( pre 125 ) and no external lib except for 3JS.

Press letter A on keyboard to see animation.
Box_oc.html (5.8 KB)