I want to make a "follow player" script for the enemies in my game. How can I get the transform.position of objects with a certain tag(so I can set it to get the position for the tag "player" and then follow it)?
You can use the following:
GameObject.FindWithTag("player").transform.position
But it's usually best to assign the found object to a variable, that way you can just go after that variable instead of searching for it every frame