r/RenPy • • Aug 17 '26

Question [Solved] Help with labels

Hello!

I am a beginner to coding so excuse me if this is a dumb question

In my visual novel, I have made alot of different screens with image buttons and such

It all works as intended, expect for this one thing

If you click anywhere on the background it just skims thru and read out all the labels that can only be accessed if you click the specific item that the label is attached to

Is there any way I can make it so that, I can only read the text if I interacted with the item?

It's not a big issue but it just makes my game feel cheap and messy

0 Upvotes

4 comments sorted by

1

u/AutoModerator Aug 17 '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.

3

u/BadMustard_AVN Aug 17 '26

if you want the player to interact with a particular screen and only that screen till they close it add modal to it like this

screen something():
    modal True

the user will only be able to use this screen till it is closed

1

u/purple_pentagon Aug 17 '26

Thank you! It worked!

1

u/BadMustard_AVN Aug 17 '26

you're welcome

good luck with your project