A* pathfinding is okay. The rule of thumb for this jam is that helper scripts are allowed, but not scripts that create the core gameplay mechanic.
Thx for responding ok understood