stop a moving Plane at a specificPos

Hey all
Silly lil question

I’m building a splash screen and want planes to move into place

var myPos; Vector3;

function Update(){
  transform.Translate(transform.right * speed * Time.deltaTime);
// I want them to come to a stop at a specific place. Logic would be:
  if (transform=myPos ){


you could also

transform.position = Vector3.lerp(transform.postion, newPos,Time.deltaTime * speed)

Look at Vector3 documentation, you can do nice translations with Lerp, Slerp and other stuff