(760 ILCS 3/504)
    Sec. 504. Discretionary distributions; effect of standard.
    (a) As used in this Section, "discretionary distribution" means a distribution that is subject to the trustee's discretion regardless of whether the discretion is expressed in the form of a standard of distribution and regardless of whether the trustee has abused the discretion.
    (b) Regardless of whether a trust contains a spendthrift provision, and regardless of whether the beneficiary is acting as trustee, if a trustee may make discretionary distributions to or for the benefit of a beneficiary, a creditor of the beneficiary, including a creditor described in subsection (b) of Section 503, may not:
        (1) compel a distribution that is subject to the
    
trustee's discretion; or
        (2) obtain from a court an order attaching present
    
or future distributions to or for the benefit of the beneficiary, except as provided in Section 2-1403 of the Code of Civil Procedure.
    (c) If the trustee's discretion to make distributions for the trustee's own benefit is limited by an ascertainable standard, a creditor may not reach or compel distribution of the beneficial interest except to the extent the interest would be subject to the creditor's claim were the beneficiary not acting as trustee.
    (d) This Section does not limit the right of a beneficiary to maintain a judicial proceeding against a trustee for an abuse of discretion or failure to comply with a standard for distribution.
(Source: P.A. 101-48, eff. 1-1-20.)