How to tranfer a variable to another level?

Thank you for your help. I look up the video and try to make everything work.