Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 573 Bytes

File metadata and controls

32 lines (27 loc) · 573 Bytes
title controller.callback
command_type action
syntax .callback()
description Will execute the command(s) whenever the Controller is there.

@newButton("Start reading")
@    .print()
@    .wait()
@    .remove()
@,
@newController("DashedSentence", {s: "The mouse is happy"} )
@    .print()
@    .log()
@    .wait()
@    .remove()
$    .callback( 
$        getVideo("skate")
$           .stop()
$           .play()
$    )
@,
@newText("Good job!")
@    .print()