--[[
	Returns all ScreenGui objects shown that are not a part of this dev module

	Returns:
	An array of ScreenGuis that are Enabled
]]

function GuiController:_getOtherScreenGuis(): { ScreenGui }
	local otherScreenGuis = Cryo.List.filter(self.player.PlayerGui:GetDescendants(), function(instance)
		return instance:IsA("ScreenGui") and not self:_isModuleScreenGui(instance) and instance.Enabled
	end)

	return otherScreenGuis
end
