Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
screen phone_look:
imagemap:
auto "imagemap_%s.png"
hotspot(592,339,46,36,) action Jump("phone_lookat")
How do I make an if statement out of this? (So; if player has clicked the image/hotspot > jump to a label else do nothing if the player just clicks anywhere other than the hotspot.)
I've read online about it, but all the examples I've found are very outdated.
Thank you.
Edit: I managed to figure it out randomly (Not sure if it's correct, but it works so i'll leave it here if anyone else has the same issue.)