The play will normally be written with character names indicating who speaks which line and in which order. There are plays where this is stated less clearly, leaving more decisions for the director ...