<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>GetCursor</title>
    <category>Objects</category>
    <subcat>Crew</subcat>
    <version>5.1 OC</version>
    <syntax>
      <rtype>object</rtype>
      <params>
        <param>
          <type>int</type>
          <name>player</name>
          <desc>Player number of the player whose controlled clonk you want to determine.</desc>
        </param>
      </params>
    </syntax>
    <desc>Returns the currently controlled Clonk of a player.</desc>
    <examples>
      <example>
        <code><funclink>if</funclink> (!GetCursor(0)) <funclink>SetCursor</funclink>(<funclink>GetHiRank</funclink>(0));</code>
        <text>Selects the player's highest ranking clonk if currently no other clonk is selected.</text>
      </example>
      <example>
        <code>GetCursor(0)-&gt;<funclink>Message</funclink>(&quot;Hooray!&quot;);</code>
        <text>Displays a message above the currently selected clonk of the first player.</text>
      </example>
    </examples>
    <related>
      <funclink>GetHiRank</funclink>
      <funclink>GetCrew</funclink>
    </related>
  </func>
  <author>Sven2</author><date>2003-02</date>
</funcs>
