Thanks for your reply!
By "displacement" I mean the change in distance between the two plates as one moves away from the other.
In essence, I need to convert the proximity values it spits out into distance values.
I looked up the datasheet and it gives a plot between proximity and distance. I'm trying to curve fit the values from that plot somehow and get a relation between "proximity" and "distance".
But I was wondering if there's a better way to to that from VCNL4000 sensor.
The datasheet link is this-
Thank You