[quote author=Fu-Kwun Hwang link=topic=791.msg3014#msg3014 date=1227695269]
if(vy>0)return 1;
return y-y0;
[/quote]

Thanks! i go try it! so the syntax is "return y-y0".

cool!