<doc>
  <legacy_id>2049</legacy_id>
  <name>selectedObject</name>
  <type>function</type>
  <syntax>
    <example>the selectedObject</example>
    <example>selectedObject()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
    <synonym>selectedObjects</synonym>
    <synonym>selObj</synonym>
    <synonym>selObjs</synonym>
    <synonym>selectedGraphic</synonym>
  </synonyms>
  <classification>
    <category>Developing with LiveCode</category>
  </classification>
  <references>
    <function tag="target">target Function</function>
    <command tag="group">group Command</command>
    <property tag="selectGroupedControls">selectGroupedControls Property</property>
  </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><glossary tag="return">Returns</glossary> the name of the <property tag="selected">selected</property> <glossary tag="object">object</glossary> or <glossary tag="object">objects</glossary>.</summary>
  <examples>
    <example>the selectedObject</example>
    <example>set the lockText of the selectedObject to true</example>
    <example>repeat with x = 1 to the number of lines of the selectedObjects</example>
  </examples>
  <description>
    <p>Use the <b>selectedObject</b> <control_st tag="function">function</control_st> to perform an action on all the <property tag="selected">selected</property> <glossary tag="object">objects</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>selectedObject</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list with the long <property tag="ID">ID</property> <glossary tag="property">property</glossary> of each <property tag="selected">selected</property> <glossary tag="object">object</glossary>, one per <keyword tag="line">line</keyword>.</p>
  </description>
</doc>