# UIComponent.ry [← UIComponent](index.md) · [← Master](../../wiki.md) ry(float value) UIComponent Set Y relative in percents to parent component. --- ry(float value, int offset) UIComponent Set Y relative in percents to parent component with offset. NBTTagCompound serializeNBT() void serializeNBT(NBTTagCompound tag)