<doc>
  <legacy_id>1256</legacy_id>
  <name>bottom</name>
  <type>property</type>
  <syntax>
    <example>set the bottom of <i>object</i> to <i>number</i></example>
  </syntax>
  <library></library>
  <objects>
    <stack/>
    <card/>
    <group/>
    <field/>
    <button/>
    <graphic/>
    <scrollbar/>
    <player/>
    <image/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Appearance &amp; Positioning</category>
  </classification>
  <references>
    <property tag="bottomLeft">bottomLeft Property</property>
    <property tag="bottomMargin">bottomMargin Property</property>
    <property tag="bottomRight">bottomRight Property</property>
    <property tag="height">height Property</property>
    <property tag="rectangle">rectangle Property</property>
    <property tag="top">top 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 how far an <glossary tag="object">object's</glossary> bottom edge is from the top of the window or screen.</summary>
  <examples>
    <example>if the bottom of this stack &gt; 600 then changeStackPlacement</example>
    <example>set the bottom of card field 1 to the height of this stack</example>
  </examples>
  <description>
    <p>Use the <b>bottom</b> <glossary tag="property">property</glossary> to change the vertical placement of a <keyword tag="control">control</keyword> or window.</p><p/><p><b>Value:</b></p><p>The <b>bottom</b> of an <glossary tag="object">object</glossary> is an integer. A <glossary tag="negative">negative</glossary> <keyword tag="integer">integer</keyword> indicates that the position is above the top of the screen or <keyword tag="card">card</keyword> (and therefore cannot be seen).</p><p/><p>A stack's <b>bottom</b> is the distance in <property tag="pixels">pixels</property> from the top edge of the screen.</p><p/><p>A card's or control's <b>bottom</b> is the distance in <property tag="pixels">pixels</property> from the top edge of the <keyword tag="card">card</keyword> to the bottom edge of the <keyword tag="card">card</keyword> or <keyword tag="control">control</keyword>.</p><p/><p><b>Comments:</b></p><p>The <b>bottom</b> of a <object tag="stack">stack</object> is in <href tag="glossary/Appearance/288.xml">absolute (screen) coordinates</href>. The <b>bottom</b> of a <keyword tag="card">card</keyword> is always equal to the height of the <glossary tag="stack window">stack window</glossary>; setting the <b>bottom</b> of a <keyword tag="card">card</keyword> does not cause a <glossary tag="error">script error</glossary>, but it has no effect. The <b>bottom</b> of a <command tag="group">group</command> or <keyword tag="control">control</keyword> is in <glossary tag="relative coordinates">relative (window) coordinates</glossary>.</p><p/><p>Changing the <b>bottom</b> of an <glossary tag="object">object</glossary> shifts it to the new position without resizing it. To change an <glossary tag="object">object's</glossary> height, set its<b> height</b> or <keyword tag="rectangle">rectangle</keyword> <glossary tag="property">property</glossary>.</p><p/><p>The <b>height</b> <glossary tag="property">property</glossary> of an <glossary tag="object">object</glossary> is equal to its <b>bottom</b> minus its <keyword tag="top">top</keyword>.</p>
  </description>
</doc>