If you want a battle to happen on contact you could do this: Spset 1,sp 'sets enemy sprite Spcol 1,true 'sets a hit box If sphitsp(0,1,1)>0 then ' put the battle here Endif