# explosion for both in a group collide

## Recommended Posts

jokc    100
heres some code that shows what im trying to do using pygame:
for alien in sprite.groupcollide(aliens, shots, 1, 1)
Explosion(alien, 0)

in addition to the explosion at the alien position i would also like to create an explosion at the shot location how would i go about doing this? Thanks!