Going up and down object after clicking on it

Hello people,

I want to build a project where will be situated a set of objects which will go up and down or scaled after clicking on it, the sample of it attached to a topic.

Thank to all.

1 Like

Are they 3D objects? In that case you will have to start with a raycast to know which object is selected. Then you have to rescale that object. You can use a tween for this or create your own function that gradually increases or decreases the scale until a certain value is reached.

1 Like