expression, adverb
as one wishes; as one wants; to one's satisfaction
Used when something goes or is done in the way the subject desires. Often appears with potential or negative forms to express whether things go as hoped.
なかなか思うようにいかないものだ。
Things rarely go as one wishes.
思うように結果が出せず、悔しい。
I couldn't produce the results I wanted, and it's frustrating.