Answers.Body: <p>In NXT-G if you place a block after another block it will run in succession. To get two motors running at the same time you can place two motor blocks, one at the start and the other just above or below. <a href="https://i.sstatic.net/IKW5m.gif" rel="nofollow noreferrer">Drag the sequence beam</a> (the white Technic beam) to the second block to complete the circuit. </p>
  
  <p>Don't forget to make sure the motor blocks are controlling separate ports and that both ports on the NXT brick are attached to motors. </p>
  
  <p>You could just use one block to control the two ports but they would both have to be running in the same direction.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-11-22T20:51:04.660Z
Answers.LastActivityDate: 2013-11-22T20:57:33.103Z
Answers.LastEditDate: 2013-11-22T20:57:33.103Z
Answers.UserDisplayName: Ambo100
Answers.Body: <p>It depends on the programming language, but assuming you're using NXT-G then the Move block may be sufficient.  The Move block is designed to coordinate 2 motors so that they both rotate at the same speed over a distance.  The Move block has settings for speed/power of the motion.  There is a forward/backward setting.  There is also a steering setting, which is implemented as a slider bar giving about 20 ratios of motor output.</p>
  
  <p>Setting speed to 75, forward and steering = 0 should give you a diagonal line.</p>
  
  <p>Change the steering to something +- 100 to give other diagonal lines.</p>
  
  <p>To give straight horizontal or vertical lines, turn one motor off, the other on.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-11-23T02:50:15.650Z
Answers.Text: Both answers helped, thanks! It was just a little thing I had to change in the command… now to get the exact angle of diagonal I want is a whole other story :P
Answers.UserDisplayName: Melanie
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-11-22T19:29:56.417Z
Answers.LastActivityDate: 2013-11-22T19:29:56.417Z
Answers.UserDisplayName: dfrevert
Answers.Body: <p>If you want two things to run at the same time place the first just in front of but not touching the start block and the other just below the first. Click on the joiners (grey ovals on the end where blocks join) and press wire from here and tap on the first code. Do the same with the second.
  <a href="https://i.sstatic.net/6UhFA.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6UhFA.jpg" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-02T05:03:52.493Z
Answers.LastActivityDate: 2019-07-02T05:03:52.493Z
Answers.UserDisplayName: Qwerty coder
Answers.Body: <p>do 2 starts. From the orange. :)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-12T17:37:29.880Z
Answers.Text: Hi krisblom! I believe you have the correct answer, but it would be much nicer if you could flesh it out a bit better. E.g. by including detailed steps, maybe screenshots, etc.
Answers.UserDisplayName: zovits
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-12T13:20:34.250Z
Answers.LastActivityDate: 2016-04-12T13:20:34.250Z
Answers.UserDisplayName: krisblom
Body: <p>I'm working on a project with multiple axis of movement… trying to get two motors to run at the same time in order to achieve a mix of two!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-11-22T02:41:11.857Z
Comments.Text: Can you describe the result you're trying to achieve?  I don't understand the "mix of two" part.
Comments.UserDisplayName: pcantin
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-11-22T02:53:52.160Z
Comments.Text: I'm building a robot that will draw specific lines on a popsicle stick. The stick is on a table that moves up and down. The pen is attached to something that makes it move left and right, forward and back. I can achieve a straight line… but for a diagonal line I have run into trouble.
Comments.UserDisplayName: Melanie
Tags: <mindstorms><nxt><programming><motor>
Title: How to program two NXT motors to run at the same time?
UserDisplayName: Melanie
ThreadText: # How to program two NXT motors to run at the same time?
  
  (Asked by: username_0 on 2013-11-22)
  
  I'm working on a project with multiple axis of movement… trying to get two motors to run at the same time in order to achieve a mix of two!
  
  **Tags:** mindstorms, nxt, programming, motor
  > **Comments:**
  > **username_1**: Can you describe the result you're trying to achieve?  I don't understand the "mix of two" part.  
  > **username_0**: I'm building a robot that will draw specific lines on a popsicle stick. The stick is on a table that moves up and down. The pen is attached to something that makes it move left and right, forward and back. I can achieve a straight line… but for a diagonal line I have run into trouble.  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_2 on 2013-11-22. Score: 3 | Accepted answer
  
  In NXT-G if you place a block after another block it will run in succession. To get two motors running at the same time you can place two motor blocks, one at the start and the other just above or below. [Drag the sequence beam](https://i.sstatic.net/IKW5m.gif) (the white Technic beam) to the second block to complete the circuit.
  
  Don't forget to make sure the motor blocks are controlling separate ports and that both ports on the NXT brick are attached to motors.
  
  You could just use one block to control the two ports but they would both have to be running in the same direction.
  
  
  ---
  
  ### Answer by username_3 on 2013-11-22. Score: 2
  
  It depends on the programming language, but assuming you're using NXT-G then the Move block may be sufficient. The Move block is designed to coordinate 2 motors so that they both rotate at the same speed over a distance. The Move block has settings for speed/power of the motion. There is a forward/backward setting. There is also a steering setting, which is implemented as a slider bar giving about 20 ratios of motor output.
  
  Setting speed to 75, forward and steering = 0 should give you a diagonal line.
  
  Change the steering to something +- 100 to give other diagonal lines.
  
  To give straight horizontal or vertical lines, turn one motor off, the other on.
  
  > **Comments:**
  > **username_0**: Both answers helped, thanks! It was just a little thing I had to change in the command… now to get the exact angle of diagonal I want is a whole other story :P  
  
  ---
  
  ### Answer by username_4 on 2019-07-02. Score: 2
  
  If you want two things to run at the same time place the first just in front of but not touching the start block and the other just below the first. Click on the joiners (grey ovals on the end where blocks join) and press wire from here and tap on the first code. Do the same with the second.
  [![enter image description here](https://i.sstatic.net/6UhFA.jpg)](https://i.sstatic.net/6UhFA.jpg)
  
  
  ---
  
  ### Answer by username_5 on 2016-04-12. Score: 0
  
  do 2 starts. From the orange. :)
  
  > **Comments:**
  > **username_6**: Hi krisblom! I believe you have the correct answer, but it would be much nicer if you could flesh it out a bit better. E.g. by including detailed steps, maybe screenshots, etc.  
  
  ---
  
  