local Vector2 = require("Vector2") local utils = require("utils") local GUI = require("GUI-Framework") local Label = GUI.newTemplate("Label") local textFont = love.graphics.getFont() Label.color = utils.rgb(255 , 255, 255) Label.text = "Lorem ipsum..." function Label:draw() local x, y = self:getPos() love.graphics.setColor(self.color) utils.alignedPrint(textFont, self.text, x , y, self.alignX, self.alignY) end