Vect = LibStub("AceAddon-3.0"):NewAddon("Vect", "AceConsole-3.0", "AceEvent-3.0") Vect.appName = "Vect" Vect.dbName = "VectDB" Vect.version = "0.1" function Vect:HideFrames() for i = 1, 23 do local frame = self.frames["target"][i]["frame"]; frame:Hide(); end for i = 1, 23 do local frame = self.frames["focus"][i]["frame"]; frame:Hide(); end end