SmileBASIC's collisions are, well, pretty basic. Problematic if you want to make specific stuff, but is okay for most purposes. Also, the way i set it up enemy logic was doing a loop checking if specific IDs are being used. If used, i extract his position and do the calculations based on that. By the look of your code, you're trying to change the position of the enemy based on the analog stick?