distance

hi how do i get the distance to another object in the bge, is there a python line?
im using blender 2.6

Check the API for getDistanceTo() in bge.types.KX_GameObject. I am not the local python guru but that looks like what you want.

own.getDistanceTo(object) should do the trick.