-- Set used TAG name on objects Found_Objects = grp.tag('Status') Counter = 0 -- Loop trough found object table for index, Found_Object in pairs(Found_Objects) do if Found_Object.data == true then Counter = Counter + 1 end end if Counter > 0 then grp.update('1/1/1', 123) end