OK Dont worry about the shooting i've solved it by going
IF Mouse Down = SPRITEVALID(2) THEN
KILLSPRITE 2
END IF
So now im working on the alien attacking me.
Thanks
In the mousedown code:
FOR sprite = 1 to 5
IF mousex > spritex(sprite) then
IF mousex < spritex(sprite) + spritewidth(sprite) then
IF mousey > spritey(sprite) then
IF mousey < spritey(sprite) + spriteheight(sprite) then
IF spritevalid(sprite) = true then
KILLSPRITE(SPRITE)
END IF
EXIT
END IF
END IF
END IF
END IF
NEXT
This checks if you click down on a sprite with numbers between 1 and 5 (those included). Chage the numbers on the first line to your situation. If you just have one enemy, you can remove the first (for next...) and the last line (next).