'I want the code to affect only one part of the group, yet it always says not subscriptable?

#  for eachObject in (enemies.sprites()):
   #  if pygame.time.get_ticks() > timeTill: # Check if the clock has passed the next apple release time.
     #   moving = random.randrange(-10,10)
        
      #  eachObject.moveFallingObjects(1, reps, moving)

       # timeTill = pygame.time.get_ticks() + 1


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source