Code: Select all
hyd_s "Everything ready?" (shake_toggle = True)
Code: Select all
define hyd_s = Character(
None
, image="hyd"
, kind=bubble
, what_color="#80b847"
, what_font = gui.hyd_font
, what_bold = True
, what_outlines = [ (absolute(0), "#000", absolute(2), absolute(2)) ]
, window_xpos = 0.5
, window_xanchor = 0.5
, window_ypos = 0.66
, window_yanchor = 0.5
, what_style = "normal_voice"
)
Code: Select all
window:
id "window"
if shake_toggle:
at bubble_shake()
else:
at bubble_appear()
So how do I update the shake_toggle variable?
Thanks in advance!