Scaling imported model with a slider

Hi coding experts, I have been stuck with this problem and would appreciate your help.
Basically I want to import a 3D file and scale it in 1 axis using a slider input.
I have tried SceneLoader Append, Import Mesh and I just can’t seem to manipulate the imported mesh in anyway, scaling or position.
The sphere is just to check that everything else is working and the slider outputs ‘value’.

slider.onValueChangedObservable.add(function (value) {
            sphere.scaling = unitVec.scale(value);
            mesh.scaling.copyFromFloats(value,100,100);
            sphere.position.x = value;
        });

Playground Code:
https://www.babylonjs-playground.com/#I71LA9

You can do something like this
https://www.babylonjs-playground.com/#I71LA9#1

1 Like

Gosh thank you so much.
I couldn’t figure out what you did but it works now!