The red square will move forward.

Try changing the speed property, and you will see the red square will move accordingly.