Closest object to a goal?

I’m remaking a tile-based movement dungeon game like Pokémon Mystery Dungeon, or Pixel Dungeon. (I’m only remaking the dungeon part.)
And I need to figure out how to get all active enemies to go toward the player. My initial thought was because I’m using part that exist in the workspace as a grid for the player to move, I could utilize those same tiles for the enemy’s movement.

So how would I go about getting the closest tile to the enemy that is closest to the player (if that all makes sense)?

Easy option: Assume the tile thats in the direction of the player is always the right way, accepting some enemies getting stuck if the player runs around a wall.

Hard option: Implement Djikstra, or find one that you can make work with your map (probably out there somewhere)

My apologies for asking, but what exactly is Dijkstra? Is it like a path-finding algorithm?

Djikstra finds the shortest path through a Graph. A grid is a special case where each edge of the graph costs about the same.
Dijkstras_progress_animation

I think I’d like to do that as I want to this to function close to perfectly. Can you refer me to any open source script or anything to help me go about implementing this into my game?

If you use this you will need the other files it refers to, and have to change the require() calls to use Roblox paths.