How might I make a sprite pathfind to the player, but constantly? As in, it is constantly generating a new path, so that if the player moves it will move directly to them?
Develop games in your browser. Powerful, performant & highly capable.
Use a timer to recalculate the pathfinding.