Path finder java pathfinder library processing

Atm I’m using a sx, sy, x, y system to make them go where I wanna go. Basically all they can do is go in straight lines not avoid walls.