That sounds odd, the offset defaults to 0,0
but this:
if dummya[i].x > getspritex(barrier.id)
dummya[i].x=dummya [i].x - AlienA[i].speed
endif
says the sprite will only move to the right if its to the left of the barrier, when the barrier x and sprite x are the same it would stop
so:
Quote: " enter the screen from the right side. they seem to move right up to the boarder and cant get past it"
is exactly what I would expect that code to do
maybe post an image or something showing what you are trying to achieve and we can give some suggestions.
Edit: Actually a good point VN, are you using physics?