What expression i must use to text object showed how many pixels is between the sprite A to sprite B ?
If you want the real distance in pixels:
distance(spriteA.x,spriteA.y,spriteB.x,spriteB.y)
If you just want the horizontal distance:
abs(spriteA.x-spriteB.x)
If you just want the vertical distance:
abs(spriteA.y-spriteB.y)
Develop games in your browser. Powerful, performant & highly capable.
LittleStain thanks for this many expressions with description thats help a lot