Doing for a reason with 〜ように
Grammar: Purpose » 〜ように
ように following a plain (dictionary) or ない form of a verb indicates the purpose of or motive for an action. It is similar to “so that” or “in order to” in English.
After Cocoa gets lost looking for her new school, she meets Chiya, who will be going to the same school as her. Hearing Rize has never swam before, Cocoa suggests an impromptu swim class. After visiting Chiya’s family’s café, Cocoa’s sense of work is reinvigorated.Examples
Going to school together so as to not get lost with 〜ように

Training so as to be able to swim with 〜ように

Working hard so as to satisfy customers with 〜ように
