libraries/ManiaLib/Gui/Component.php
function setPosX($posX)
    {
        $oldX = $this->posX;
        $this->posX = $posX;
        $this->onMove($oldX, $this->posY, $this->posZ);
    }
function setPosX($posX)
    {
        $oldX = $this->posX;
        $this->posX = $posX;
        $this->onMove($oldX, $this->posY, $this->posZ);
    }
Sets the X position of the element
@param float