An expression meaning 'as one wishes' or 'to one's heart's content' — doing or being whatever one wants; similar to 思うまま.
休日は思うがままに過ごしたいから、予定は入れないでおく。
I want to spend my day off as I please, so I won't schedule anything.
子供たちは庭で思うがままに遊んでいる。
The children are playing freely in the yard as they wish.
思うがままに表現できる環境は創造力を伸ばす。
An environment where one can express themselves as they wish fosters creativity.