Press the flag. Try putting the slider on maximum speed :)
This is just something random I made while playing with sine and cosine. The Green and Orange boxes never hit each other.