Used to express 'like', 'as if', 'in order to', or 'so that'.
Long explanation:
The ~ように grammar point is used to express different meanings depending on the context. These mainly include 'like', 'as if', 'in order to', or 'so that'. The formation differs depending on whether it is used with a verb or an い-adjective.