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 have a small script I'm adding that changes a persistent variable. I finally got it to turn on and off with the use of a function. I couldn't use SetVariable because it gave me a split error. So I created a basic function that takes the type and changes the persistent variable. However, the textbutton doesn't show that it's already enabaled on the preference screen one way or the other such as it does with the windowed and full screeen adding the line. What am I missing to change this?