Acho que entendi. Isso deve te servir
function Dx ()
dxDrawButton(x*379, y*300, x*608, y*53, "SIM", tocolor(255, 0, 0, 220), tocolor(255, 255, 255, 255), "default-bold", 1, false, false)
end
--==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-
function dxDrawButton(posX, posY, width, height, text, cursorColor, colorText, font, scale, colorCoded, postGUI)
dxDrawRectangle(posX, posY, width, height, isCursorOnElement(posX, posY, width, height) and cursorColor or tocolor(0, 0, 0, 150), postGUI)
dxDrawText(text, posX + posX, posY + posY -3, width, height, isCursorOnElement(posX, posY, width, height) and tocolor(255, 255, 255, 255) or colorText, scale, Font_4, "center", "center", false, false, postGUI, colorCoded, false)
end
--==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-