sorry it's DX = spriteX - objectX same for DY assuming "sprite" is the arrow in this case