How to make that the light to move from one point

How to make that the light to move from one point to other point?

Use a posInterval, as described in the manual and sample programs.

Thanks.