LiminaliaLiminalia

@hud-button

Place a button that stays on screen while playing. Pressing it calls the call= scene, and when the scene returns, the page being read (or the choices being shown) is shown again. It stays until @hud-button-off and is kept in saves

Parameters

nameRequired
Text
Name (writing the same name again replaces it; used by @hud-button-off and @hud-text-off to remove it)
callRequired
Jump target (file#label)
Scene to call when pressed (#label, file#label). It returns at @return or the next label
image
Asset (image)
Button image (a text button with label if omitted)
hover
Asset (image)
Image while the mouse is over it
label
Text
Button text (when image is omitted; also read by screen readers)
x
Number
Default: 0
Left edge (px)
y
Number
Default: 0
Top edge (px)
width
Number
Width (px; the size of the image or text if omitted)
height
Number
Height (px)
key
Text
Key that presses it (m, F1 and so on; upper and lower case letters are the same). It works while playing and while choices are shown, before the default keys of other actions
show-if
Condition expression
Condition for showing it (an expression). Hidden while false; checked again whenever a variable changes

Guides that use this command