Faire une opération mathématique sur une “variable de scène”

@lmilcent Actually the error comes from the fact that arrays in the responses were not being handled correctly, the parsing function only handled objects.

I’ve made a PR that fixes the issue:

Do you have a DEV environment to test?

In the meantime, you can use the Math.js API with a simple string instead of an array, and it works well :slight_smile:

What I observed during my tests:

  • First do a test with an expression without variables, like « 10+10 » (note: no spaces, Math.js apparently doesn’t like spaces)
  • Press « Try », which will populate the dictionary of available variables, because the request doesn’t need dependencies to test the request
  • Then replace the expression with the correct expression you want with the desired variables. Do not press Try, the variables are not available.
  • You can test running the scene with the « Start » button at the top of the scene

It works like that for me :slight_smile: