(UTC 504) (a) In this section, "child" includes any person for whom an order or judgment for child support has been entered in this or another state.
(b) Except as otherwise provided in subsection (c) of this section, whether or not a trust contains a spendthrift provision, a creditor of a beneficiary may not compel a distribution that is subject to the trustee's discretion, even if:
(1) the discretion is expressed in the form of a standard of distribution; or
(2) the trustee has abused the discretion.
(c) To the extent a trustee has not complied with a standard of distribution or has abused a discretion:
(1) a distribution may be ordered by the court to satisfy a judgment or court order against the beneficiary for support or maintenance of the beneficiary's child, spouse, or former spouse; and
(2) the court shall direct the trustee to pay to the child, spouse, or former spouse such amount as is equitable under the circumstances but not more than the amount the trustee would have been required to distribute to or for the benefit of the beneficiary had the trustee complied with the standard or not abused the discretion.
(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.
(e) If the trustee's or cotrustee's discretion to make distributions for the trustee's or cotrustee'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 or cotrustee.