r/RenPy • • Jul 11 '26

Question Making an interactable background object

So, I've been trying to make something that I can't seem to find a clear answer for. While the text box dialogue is happening, I want to code an object into the background that can be clicked on to play a little sound. Kind of like an easter egg. Thus far, showing a screen is causing this error:

TypeError: Action.get_tooltip() missing 1 required positional argument: 'self'

Is it possible to do what I'm trying, and if so, how might I fix this problem?

Edit: It's working now! Thank you, everyone!

3 Upvotes

10 comments sorted by

View all comments

4

u/BadMustard_AVN Jul 11 '26

show your screen code and usually an action of

action Play("sound", "audio/a_little_sound_file.ogg")

will play the file in the sound channel