You could maybe offset the pointer sprite by 1 px
LoadImage ( 499, "Arrow 1b.png",1)
CreateSprite ( 499, 499)
SetRawMouseVisible(0)
get_sprite_hit: // (sub-routine)
SetSpritePosition ( 499, GetPointerX()+1, GetPointerY()+1)
x = GetPointerX()
y = GetPointerY()
sp = GetSpriteHit( x, y ) // ......here, result = sprite #499 , which is utterly useless.
return
i think you need to go another route, keep the pointer sprite, but make an invisible 1x1px sprite that sits at the top left of the pointer sprite but make it not visible then check for collections
LoadImage ( 499, "Arrow 1b.png",1)
CreateSprite ( 499, 499)
SetRawMouseVisible(0)
CreateSprite ( 1, 499)
setspritesize(1,1,1)
setspritevisable(1,0)
get_sprite_hit: // (sub-routine)
SetSpritePosition ( 499, GetPointerX(), GetPointerY())
SetSpritePosition ( 1, GetPointerX(), GetPointerY())
x = GetPointerX()
y = GetPointerY()
for i=2 To 498
if Not GetSpriteExists(i) then continue
if GetSpriteCollision(1,i)
Print("hitsprite:"+str(i))
endif
next
return