<doc>
  <legacy_id>1962</legacy_id>
  <name>customProperties</name>
  <type>property</type>
  <syntax>
    <example>set the customProperties of <i>object</i> to <i>propertiesArray</i></example>
    <example>set the customProperties[<i>propertySet</i>] of <i>object</i> to <i>propertiesArray</i></example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
    <card/>
    <group/>
    <field/>
    <button/>
    <graphic/>
    <scrollbar/>
    <player/>
    <image/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Values &amp; Properties</category>
  </classification>
  <references>
    <function tag="propertyNames">propertyNames Function</function>
    <control_st tag="setProp">setProp Control Structure</control_st>
    <property tag="properties">properties 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>Specifies all the <property tag="customProperties">custom properties</property> of an <glossary tag="object">object</glossary> that are in the current <property tag="customPropertySet">customPropertySet</property>, along with their settings.</summary>
  <examples>
    <example>set the customProperties of this card to myPropertiesArray</example>
    <example>put the customProperties["mySet"] of me into myArray</example>
  </examples>
  <description>
    <p>Use the <b>customProperties</b> <glossary tag="property">property</glossary> to set or retrieve all the <property tag="customProperties">custom properties</property> of an <glossary tag="object">object</glossary> at once.</p><p/><p><b>Value:</b></p><p>The <b>customProperties</b> of an <glossary tag="object">object</glossary> is an <glossary tag="array">array</glossary> of <property tag="customProperties">custom properties</property> and their <glossary tag="value">values</glossary>. The name of each <property tag="customProperties">custom property</property> is the <glossary tag="array">array</glossary> <glossary tag="key">key</glossary>.</p><p/><p><b>Comments:</b></p><p>The <b>customProperties</b> specifies the <property tag="properties">properties</property> in the <glossary tag="object">object's</glossary> current <property tag="customPropertySet">customPropertySet</property>. (The <glossary tag="object">object</glossary> can have other <property tag="customProperties">custom properties</property>, which are accessed by switching to another <property tag="customPropertySet">customPropertySet</property>.)</p><p/><p>You can get or change the value of a single custom property using array notation. For example, the following statement copies the entire set of custom properties from one card to another, changing only the custom property named "changedDate":</p><p/><p>  put the customProperties of this card into myCustomProps</p><p>  put field 3 into myCustomProps["changedDate"]</p><p>  set the customProperties of next card to myCustomProps</p><p/><p><b>Note:</b> You can also set <property tag="customProperties">custom properties</property> individually using the <command tag="set">set command</command>.</p><p/><p>To refer to a custom property set that is not the current <b>customPropertySet</b>, use <glossary tag="array">array</glossary> notation. For example, to get an <glossary tag="array">array</glossary> consisting of all the <property tag="customProperties">custom properties</property> in a <glossary tag="custom property set">custom property set</glossary> called "MyProps", use a <glossary tag="statement">statement</glossary> like the following:</p><p/><p>  get the customProperties["MyProps"] of this card</p>
  </description>
</doc>