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.
I'm trying to have a scrollbar only added to the choice screen based on if the options are going offscreen.
I've gotten it so that it consistently has a scroll bar if i uncomment the line beneath the viewport, and the counting works. But all my code does right now is move the options to the left without a scrollbar. I can get it to add a scrollbar to the window if the options go offscreen but that's useless. I have no idea why this doesn't work, please help