Question
Ren'Py 8.0: Timeout reset behavior on mouse hover
Lax Maple
0 reputation · 15 Feb 2021, 23:44 UTC
107.3K views0
Goal
Determine precisely when a renpy.timeout is cancelled during a choice menu. The intended behavior is to allow the player to make a selection before the timeout triggers, but the documentation does not specify whether the timer is cleared on mouse hover, mouse down, or mouse up.
Constraints & Uncertainty
- The interaction between
renpy.timeoutand auto‑forward settings (config.auto_forward_timeandconfig.auto_forward_pause) may alter the timing of the trigger. - Skip/fast‑forward (Ctrl key) can cancel or accelerate waits, but its effect on timeout timers is inconsistent across Ren'Py releases.
- Community reports suggest that hovering over a button does not reset the timer, yet this is not documented.
Questions
- Does
renpy.timeoutcancel automatically when a player hovers over a choice button, or only upon an explicit click? - If cancellation occurs only on click, is it triggered by the mouse‑down event, the mouse‑up event, or both?
- How does enabling auto‑forward with a shorter
config.auto_forward_timeaffect the timeout’s cancellation semantics?