The literary element that could affect in a story by varying sentence structure and length is Figurative Language. This because it uses words or expressions that can convey a different meaning than the literal interpretation.
I
hope it helps, Regards.