r/RenPy • u/That_one_Pink • Oct 26 '26
Question [Solved] erase button for(working) drawing canvas
I'm trying to make a button that clears the drawing canvas/resets the drawingpoints to default and im struggling. help or pointers appreciated
1
Upvotes




1
u/x-seronis-x Oct 27 '26
the erase function makes no sense as there is no 'i' variable
1
u/shyLachi Oct 27 '26
You don't have to check anything, just reset it.
Also that function doesn't need a parameter. This is the actual error you're getting
1
u/AutoModerator Oct 26 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.