Overlay passes paremeter to parent function

I can call a function in the parent scene from an overlay, but can I send paremeters?

You can either pass your parameters to your parent’s function or you can use Composer’s setVariable/getVariable functions to set/get variables in the scene object.  You might be able to pass parameters as part of the call to show the overlay, but there isn’t a method to pass them back (No events to receive them).

Rob

ok no problem, i can use a global var to get that parameter.
Thanks

You can either pass your parameters to your parent’s function or you can use Composer’s setVariable/getVariable functions to set/get variables in the scene object.  You might be able to pass parameters as part of the call to show the overlay, but there isn’t a method to pass them back (No events to receive them).

Rob

ok no problem, i can use a global var to get that parameter.
Thanks