How do i

i need to make the characters i have follow close to each other in a line. i dont want them to overlap when they are stopped but if the leading character turns around it can go through the following one. any help would help. thanks