the position of the ground where you want to build the tower, try using the <code>getHeight</code> function. This function gets the highest non-air point for a certain (x, z) position. As long as there’s not a building or something in the air, this should give you the height of the ground at that location. Finally, you can use the <code>id</code> argument in <code>setBlocks</code> to specify that the tower should be made of stone:</p>
<div class="sourceCode" id="cb44"><pre class="sourceCode r"><code class