You are welcome!
There are some variations of it:
x = thisComp.layer(“name”).transform.position[2]
ease (x, 0, 30, 0, 100)
x = thisComp.layer(“name”).transform.position[2]
easeIn (x, 0, 30, 0, 100)
x = thisComp.layer(“name”).transform.position[2]
easeOut (x, 0, 30, 0, 100)
In ease, when the value of x is 0, the velocity is 0 and when the value of x is 30, the velocity is 0 also.
In easeIn, when the value of x is 30, the velocity is 0 and in easeOut, when the value of x is 0 the velocity is 0.
Lord Scales