Set opacity level in successive routines based on staircase results

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10):
PsychoPy version 2022.2.2:
Standard Standalone)
What are you trying to achieve?:
I would like to set the opacity level in successive routines based upon the results of a previous QUEST staircase loop.

At the End Routine I have the following:

thisExp.addData('opacity', level)

How can I use the final value of level for further routines?

Thank you~