Hello!
I am looking to create a textbutton in my Options menu that resets all player preferences to default upon click.
This textbutton works to reset the preference values, but upon clicking once it becomes permanently highlighted.
I would like it so even after clicking, the textbutton will still change colors when hovering/unhovering to indicate it can be clicked again.
Is there something having to do with 'selected' or 'sensitive' expressions I need? Or does it have to do with style?
I'm still very beginner level at learning Ren'Py, so I apologize in advance if there is a very easy solution I'm missing.
I am looking to create a textbutton in my Options menu that resets all player preferences to default upon click.
Python:
textbutton _("Reset To Default"):
action [SetVariable("preferenceX", "True"), SetVariable("preferenceY", "True")]
I would like it so even after clicking, the textbutton will still change colors when hovering/unhovering to indicate it can be clicked again.
Is there something having to do with 'selected' or 'sensitive' expressions I need? Or does it have to do with style?
I'm still very beginner level at learning Ren'Py, so I apologize in advance if there is a very easy solution I'm missing.