It is hinted at here:
“Script properties are parsed when building the project. Value expressions are not evaluated. This means that something like go.property("hp", 3+6)
will not work while go.property("hp", 9)
will.”
This means that you can’t use expressions of any kind or variables for that matter since both script and resource properties are parsed at build time, not at runtime.