pathffinder
inv move to near gate(opartly)