<doc>
  <legacy_id>2115</legacy_id>
  <name>lockMoves</name>
  <type>property</type>
  <syntax>
    <example>set the lockMoves to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
  </classification>
  <references>
    <command tag="move">move Command</command>
    <command tag="unlock moves">unlock moves Command</command>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies whether the motion of <glossary tag="object">objects</glossary> moved by the <command tag="move">move</command> <glossary tag="command">command</glossary> is seen immediately or delayed.</summary>
  <examples>
    <example>set the lockMoves to true</example>
  </examples>
  <description>
    <p>Use the <b>lockMoves</b> <glossary tag="property">property</glossary> to <glossary tag="synchronize">synchronize</glossary> <glossary tag="object">object</glossary> movements.</p><p/><p><b>Value:</b></p><p>The <b>lockMoves</b> is true or false.</p><p/><p>By default, the <b>lockMoves</b> <glossary tag="property">property</glossary> is set to false. It is <command tag="reset">reset</command> to false when no <glossary tag="handler">handlers</glossary> are <glossary tag="execute">executing</glossary>.</p><p/><p><b>Comments:</b></p><p>If the <b>lockMoves</b> <glossary tag="property">property</glossary> is set to true, when you use the <command tag="move">move</command> command to move an <glossary tag="object">object</glossary> around the screen, the movement does not become visible until the <b>lockMoves</b> is set to false. You can set the <b>lockMoves</b> <glossary tag="property">property</glossary> to true, start several <glossary tag="object">objects</glossary> moving, then set the <b>lockMoves</b> to false to begin the motion, as in the following example:</p><p/><p><code>  on mouseUp</code></p><p><code>    set the lockMoves to true</code></p><p><code>    move button 1 to 300,200 in 2 seconds </code><code><i>-- doesn't move yet</i></code></p><p><code>    move field 2 to 0,0 in 2 seconds </code><code><i>-- doesn't move yet</i></code></p><p><code>    move graphic 3 to 0,400 in 2 seconds </code><code><i>-- doesn't move yet</i></code></p><p><code>    set the lockMoves to false </code><code><i>-- all three objects start moving</i></code></p><p><code>  end mouseUp</code></p><p/><p>If the <b>lockMoves</b> is false, the movement takes place immediately.</p>
  </description>
</doc>