standard.enable

description

Enables any interactive feature of the element that was previously disabled.

syntax

getX(ELEMENT_NAME).enable()

What does getX() mean?


example(s)


@
@newAudio("sentence", "test.mp3")
@    .once()
@    .print()
@,
@newKey("secret key", "R")
@    .wait()
@,
@getAudio("sentence")
$    .enable()
  • Prints buttons to play/pause the audio file test_sentence.ogg, and disables those buttons when the file has played through (see audio.once).