You mean like positions in a race? When a car overtakes another one you can just use Panel.pos_x/pos_y in a function.