How to get the newly spawned ball objects to move to the center

Sorry for this seemingly dumb question but I am having a massive brain fart here. I am trying to get newly spawned ball objects to start moving the center of the screen as soon as they are initiated but I cannot think of a way of doing it even though this should be pretty simple.

I have four bounds outside of the screen viewing area that a function will randomly choose. Once it chooses one of the bounds it needs to find an area between the bounds. So now that it has its spawning position I want the ball to start moving towards the center of the screen. Does someone have an idea on how to do this?

yourObject.transform.position -= new Vector2(xOffset, yOffset);

Or a Vector3 if in 3D space.

The offset would be based on how much you want to move this frame and could be determined by subtracting the center screen position and the current position, then dividing by how long you want it to take.