Toggle Parameter par.val bug (TD 2025.32280 Win11) [SOLVED]

Hi! Just noticed a possible bug. I have a base with a custom par type Toggle. Inside that another base with a custom par type Toggle. If these parameters are connected using either reference or bind, printing par.val from inside the child Base always results in the value that the parameter originally had in default value mode

toggleBug.tox (982 Bytes)

When just toggling this parameter without a parent connecting it works fine. See example attached.

.val is a refference to the value of the parameter in constant mode. Use .eval() to get the value no matter what the mode is.

Get or set the constant mode value of the parameter only. Important: To get the parameter's current working value, regardless of the Parameter Mode (constant, expression, export or bound), always use the eval() method described below.

Ah oops, that makes sense.