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.
So basically what i'm trying make is a code that detects if left mouse button is holded and then imagebutton's hovered so it can return an action, but can't make it go right. Any ideas on that one?
2) hovered action is triggered only when the button state is changed from idle to hover. If you are hovering over the button and then press the mouse, it is not going to trigger hover action.
There is also potential problem with using key'mouseup_1'. It will prevent to trigger button action, the key action will be triggered instead.
2) hovered action is triggered only when the button state is changed from idle to hover. If you are hovering over the button and then press the mouse, it is not going to trigger hover action.
There is also potential problem with using key'mouseup_1'. It will prevent to trigger button action, the key action will be triggered instead.
So I solved the first reason, the 2nd one is made on purpose, so you have to start clicking off-button (or however you can describe that), but do you have any ideas on how to bring the 3rd one, the trigger button to work?