Math Functions with several returne values

I don’t fully understand your issue. Apologies if this isn’t helpful.

You could return multiple values using a variable(s) as a parameter type but I don’t think that’s recommended. You could use a structure variable.

https://forum.gdevelop.io/t/not-a-bug-variable-parameter/65018/2?u=keith_1357

I think the recommended method would be to use seperate expressions. You could store the results in variables or call one function using another functions result as a parameter. Or you could create a seperate function that calls those expressions.

The values could be stored in a scene or an object variable. Maybe, create a behavior instead. The values could be stored as properties.

It all depends on how frequently the values change and need to be updated or accessed and how you’re using them.