new firstEnt = find_ent_by_class(...);// Get firstEnt origin.for (ent = find_ent_by_class(...)){ // Set ent origin. // Set firstEnt origin.}