You'd have to do something like this:
sprite=getspritecollision(1,10)
Rem This would return whatever sprite it is colliding with, or zero
Rem First number = sprite to test and second = number of sprites to test
`*********************************************
Function getspritecollision(sprite,numofsprites)
For x = 1 To numofsprites
If sprite collision(sprite, x) = 1 Then spritecol = x: Exit
Next x
Endfunction spritecol
"All programmers are playwrights and all computers are lousy actors." -Anon.
<--- Just.. changed.. my. avatar... Ouch, my head!
