Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
And when closing the screen I should somehow set y = current YScrollValue. And that's where I hit the problem.
How do I get the current value? I tried playing around with ui.adjustment and renpy.get_widget(vpid).yadjustment and all sorts of stuff but somehow I can't piece it together. So, any simple and elegant solution where I can add to the action of a button something like: