How to use Vector(Harrowland)

use something like this is probably what peter is saying, in this case i will use eH for enemy hero var

if eH:
    if paladin:
        limitNum=#anynumber u want
        palaVec=Vector.limit(Vector.subtract(hero.pos,eh.pos),limitNum)
        #command here

The wrong way: