[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Re: sprite.spritecollide



Follow up with this
 
if len(colliding_with) is not 0:
   for sprite in colliding_with:
    #will go through each sprite in colliding_with
    #if your sprite has a unique ID like self.id try printing
    print sprite.id