<doc>
  <legacy_id>1701</legacy_id>
  <name>remove script</name>
  <type>command</type>
  <syntax>
    <example>remove [the] script of <i>object</i> from {front | back}</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Objects &amp; Messages</category>
  </classification>
  <references>
    <function tag="backScripts">backScripts Function</function>
    <function tag="frontScripts">frontScripts Function</function>
    <command tag="insert script">insert script Command</command>
    <property tag="script">script Property</property>
    <command tag="stop using">stop using Command</command>
    <keyword tag="front">front Keyword</keyword>
  </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>Takes an <glossary tag="object">object</glossary> out of the <glossary tag="message path">message path</glossary> that was placed in the <glossary tag="message path">message path</glossary> with the <command tag="insert script">insert script</command> <glossary tag="command">command</glossary>.</summary>
  <examples>
    <example>remove the script of button ID 2 from front</example>
    <example>remove the script of this card from back</example>
  </examples>
  <description>
    <p>Use the <b>remove script</b> <glossary tag="command">command</glossary> to remove an <glossary tag="object">object</glossary> from the <glossary tag="message path">message path</glossary>.</p><p/><p><b>Parameters:</b></p><p>The <i>object</i> is any <glossary tag="object">object</glossary> in an open <object tag="stack">stack</object>.</p><p/><p><b>Comments:</b></p><p>You can remove a script only if it has previously been inserted in the message path with the <b>insert script</b> <glossary tag="command">command</glossary>. The <b>remove script</b> <glossary tag="command">command</glossary> does not affect <glossary tag="object">objects</glossary> that are normally in the <glossary tag="message path">message path</glossary> or <glossary tag="script">scripts</glossary> that were placed in the <glossary tag="message path">message path</glossary> with the <command tag="start using">start using</command> <glossary tag="command">command</glossary>.</p>
  </description>
</doc>