well you just need to keep moving it towards the y = 0 coordinate and check if it has crossed it (per frame).
when the if comparison is true you simply stop the movement and set it's y coordinate manually to 0 to avoid inaccuracy errors.

soo there's really not much to it...


POTATO-MAN saves the day! - Random