How to change childAlignment option/value on GridLayoutGroup component with script ?

ike the title said, how?

i already googled, can’t find anything, and the script API not help much either

thank you in advance

eh no worry, i already find it myself
use GetComponent().childAlignment = TextAnchor.MiddleCenter;