You can use the <code>getPlayerPos</code> function to find the position of each player. If you are the first player, you can pull your ID as the first element of the object returned by <code>getPlayerIds</code>:</p>
<div class="sourceCode" id="cb34"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb34-1"><a href="a-stairway-to-heaven.html#cb34-1"></a>ids &lt;-<span class="st"> </span><span class="kw">getPlayerIds</span>()</span>
<span id="cb34-2"><a href="a-stairway-to-heaven.html#cb34-2"></a