colliding_with = pygame.sprite.spritecollide(x,y, 0)

colliding_with is a list of all objects x is colliding in y

Reply via email to