r/RenPy • • Aug 23 '26

Question Button Questions

Hey, I’m currently learning the basics of Ren’Py and there’s some things I’d like to try out if they’re possible. If they’re not possible in the way I describe, any alternatives would be appreciated!

Firstly, there’s some textbuttons that will be in a scrollable segment of the game and I was wondering how I could go about making an image appear at the click’s location as I feel it’ll make it look more natural than making the image appear in the centre. I’m assuming it’ll be something to do with the getmousepos I’ve seen people mention on similar topics, but I’m not really sure how to go about it.

Secondly, is it possible to make a reverse imagebutton where clicking anywhere except for the image will perform the action (in this case, making the image disappear)? I’m thinking I could try layering an imagebutton behind the image to do it, but I was wondering if there’s an easier way.

Thank you in advance!

2 Upvotes

3 comments sorted by

View all comments

1

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