tml" title="type parameter in Entity">T</a></span>&nbsp;<span class="element-name">setX</span><wbr><span class="parameters">(int&nbsp;x)</span></div>
<div class="block">Sets the X coordinate of this <code>Entity</code> in world units.
 <p>
 Default is 0.
 </p></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>x</code> - the X coordinate for this <code>Entity</code>.</dd>
<dt>Returns:</dt>
<dd>this <code>Entity</code>.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setX(int,com.codingame.