title: How do I force the cursor to move Horizontally Drafting Demo 2022.2 using Shift Key?
body: <p>In the drawing DrawInteractive mode, I understand there is a snap option <code>design1.GridSnapEnabled = true;</code> for the <code>MyDesign:Design design1</code> to ensure the line can be drawn as a straight line. However for the case when my start point is not on the grid snap (Let's say my intend is to have it not stay on the grid), I want to force the cursor movement horizontally by pressing the Shift Key or anything, how the code can be implemented?</p>
  <p><a href="https://i.stack.imgur.com/X7RSr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X7RSr.png" alt="enter image description here" /></a></p>