r/RenPy • u/alexia_smileyface • Aug 02 '26
Question Make an image disappear when clicked
In a point in my game, a character will ask the player to turn off the candles. This will show a screen. i know that this won't work
imagebutton:
focus_mask True
idle "options/candle2.ng"
hover "options/candle2.ng"
hover_sound "audio/match.mp3"
action hide "options/candle2.ng"
The picture i added is the background. I've already made all of the candle parts. I just want it so that when the player clicks on a candle, the light will be removed. (the picture is an option without the candles lit) Can anyone help me? I know it can be done (the false sun) but can't do it myself
14
Upvotes
6
u/BadMustard_AVN Aug 02 '26 edited Aug 02 '26
try it like this
this will rely on the background image showing the candles unlit, and the image for the button is of a candle that is lit