STEP 2: Let's use two lines to split the road into three lanes.

  • Drag Line into your program and name it divide1.
  • Change the parameters to make the line go from (-50, 250) to (-50, -250). Change the color to "white".
  • Drag another Line into your program and name it divide2.
  • Change the parameters to make the line go from (50, 250) to (50, -250). Change the color to "white".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)