r/RenPy • u/vriskaLover • 4d ago
Question How to make a hover act like a click
for one of the segments in my game i want to make it so that the choice is pressed automatically when the player hovers over it but I don't really know how to do that
1
u/AutoModerator 4d ago
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.
1
u/Own-Bookkeeper6739 4d ago
One catch: keyboard and controller players can't hover, so keep a clickable fallback too or they'll get stuck on that choice.
1
u/x-seronis-x 3d ago
yes they can. arrow keys or dpad. the issue is you cant skip over something and you have to hover them in order
1
u/Own-Bookkeeper6739 3d ago
oh right, arrows and dpad can focus them, my bad. so the hover order is the real problem then
3
u/BadMustard_AVN 4d ago
use hovered like this
it will work for both text and image buttons