[{"data":1,"prerenderedAt":2293},["ShallowReactive",2],{"navigation_docs_en":3,"-en-interact-trigger-recipes":162,"-en-interact-trigger-recipes-surround":2288},[4,26,66,86,117,146],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Start here","i-lucide-flag","\u002Fen\u002Fstart","en\u002F1.start",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Welcome","\u002Fen\u002Fstart\u002Fwelcome","en\u002F1.start\u002F1.welcome","i-lucide-hand",{"title":16,"path":17,"stem":18,"icon":19},"Your first course","\u002Fen\u002Fstart\u002Ffirst-course","en\u002F1.start\u002F2.first-course","i-lucide-rocket",{"title":21,"path":22,"stem":23,"icon":24},"Editor tour","\u002Fen\u002Fstart\u002Feditor-tour","en\u002F1.start\u002F3.editor-tour","i-lucide-map",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Build slides","i-lucide-shapes","\u002Fen\u002Fbuild","en\u002F2.build",[32,37,41,46,51,56,61],{"title":33,"path":34,"stem":35,"icon":36},"Slides, scenes and layouts","\u002Fen\u002Fbuild\u002Fslides-and-scenes","en\u002F2.build\u002F1.slides-and-scenes","i-lucide-presentation",{"title":38,"path":39,"stem":40,"icon":28},"Objects","\u002Fen\u002Fbuild\u002Fobjects","en\u002F2.build\u002F2.objects",{"title":42,"path":43,"stem":44,"icon":45},"Lines and polygons","\u002Fen\u002Fbuild\u002Flines-and-polygons","en\u002F2.build\u002F3.lines-and-polygons","i-lucide-spline",{"title":47,"path":48,"stem":49,"icon":50},"Media","\u002Fen\u002Fbuild\u002Fmedia","en\u002F2.build\u002F4.media","i-lucide-image",{"title":52,"path":53,"stem":54,"icon":55},"Layers","\u002Fen\u002Fbuild\u002Flayers","en\u002F2.build\u002F5.layers","i-lucide-layers-2",{"title":57,"path":58,"stem":59,"icon":60},"Timeline, states and animation","\u002Fen\u002Fbuild\u002Ftimeline-and-animation","en\u002F2.build\u002F6.timeline-and-animation","i-lucide-clapperboard",{"title":62,"path":63,"stem":64,"icon":65},"Design and theme","\u002Fen\u002Fbuild\u002Fdesign-and-theme","en\u002F2.build\u002F7.design-and-theme","i-lucide-palette",{"title":67,"icon":68,"path":69,"stem":70,"children":71,"page":25},"Interactivity","i-lucide-zap","\u002Fen\u002Finteract","en\u002F3.interact",[72,76,81],{"title":73,"path":74,"stem":75,"icon":68},"Triggers and variables","\u002Fen\u002Finteract\u002Ftriggers-and-variables","en\u002F3.interact\u002F1.triggers-and-variables",{"title":77,"path":78,"stem":79,"icon":80},"Trigger recipes","\u002Fen\u002Finteract\u002Ftrigger-recipes","en\u002F3.interact\u002F2.trigger-recipes","i-lucide-chef-hat",{"title":82,"path":83,"stem":84,"icon":85},"Questions and results","\u002Fen\u002Finteract\u002Fquestions-and-results","en\u002F3.interact\u002F3.questions-and-results","i-lucide-list-checks",{"title":87,"icon":88,"path":89,"stem":90,"children":91,"page":25},"Publish and share","i-lucide-package","\u002Fen\u002Fship","en\u002F4.ship",[92,97,102,107,112],{"title":93,"path":94,"stem":95,"icon":96},"Preview and publish","\u002Fen\u002Fship\u002Fpreview-and-export","en\u002F4.ship\u002F1.preview-and-export","i-lucide-play",{"title":98,"path":99,"stem":100,"icon":101},"SCORM and Moodle","\u002Fen\u002Fship\u002Fscorm-and-moodle","en\u002F4.ship\u002F2.scorm-and-moodle","i-lucide-graduation-cap",{"title":103,"path":104,"stem":105,"icon":106},"Imports","\u002Fen\u002Fship\u002Fimports","en\u002F4.ship\u002F3.imports","i-lucide-file-input",{"title":108,"path":109,"stem":110,"icon":111},"Versions and backup","\u002Fen\u002Fship\u002Fversions-and-backup","en\u002F4.ship\u002F4.versions-and-backup","i-lucide-history",{"title":113,"path":114,"stem":115,"icon":116},"Privacy and offline use","\u002Fen\u002Fship\u002Fprivacy-and-offline","en\u002F4.ship\u002F5.privacy-and-offline","i-lucide-shield-check",{"title":118,"icon":119,"path":120,"stem":121,"children":122,"page":25},"Working with AI","i-lucide-sparkles","\u002Fen\u002Fai","en\u002F5.ai",[123,126,131,136,141],{"title":118,"path":124,"stem":125,"icon":119},"\u002Fen\u002Fai\u002Fthree-ways","en\u002F5.ai\u002F1.three-ways",{"title":127,"path":128,"stem":129,"icon":130},"Connect your AI app","\u002Fen\u002Fai\u002Fconnect-your-app","en\u002F5.ai\u002F2.connect-your-app","i-lucide-plug",{"title":132,"path":133,"stem":134,"icon":135},"What the AI can do","\u002Fen\u002Fai\u002Fmcp-tools","en\u002F5.ai\u002F3.mcp-tools","i-lucide-wrench",{"title":137,"path":138,"stem":139,"icon":140},"Prompts that work","\u002Fen\u002Fai\u002Fprompts","en\u002F5.ai\u002F4.prompts","i-lucide-message-square-text",{"title":142,"path":143,"stem":144,"icon":145},"The course script","\u002Fen\u002Fai\u002Fcourse-script","en\u002F5.ai\u002F5.course-script","i-lucide-file-json",{"title":147,"icon":148,"path":149,"stem":150,"children":151,"page":25},"Reference","i-lucide-book-open","\u002Fen\u002Freference","en\u002F6.reference",[152,157],{"title":153,"path":154,"stem":155,"icon":156},"Keyboard shortcuts","\u002Fen\u002Freference\u002Fkeyboard-shortcuts","en\u002F6.reference\u002F1.keyboard-shortcuts","i-lucide-keyboard",{"title":158,"path":159,"stem":160,"icon":161},"Troubleshooting","\u002Fen\u002Freference\u002Ftroubleshooting","en\u002F6.reference\u002F2.troubleshooting","i-lucide-life-buoy",{"id":163,"title":77,"body":164,"description":2281,"extension":2282,"links":2283,"meta":2284,"navigation":2285,"path":78,"seo":2286,"stem":79,"__hash__":2287},"docs_en\u002Fen\u002F3.interact\u002F2.trigger-recipes.md",{"type":165,"value":166,"toc":2259},"minimark",[167,176,179,210,215,260,267,271,350,354,357,371,495,499,502,509,590,593,600,680,683,686,693,808,812,815,823,955,959,962,969,1110,1114,1117,1149,1384,1388,1391,1403,1501,1505,1517,1612,1616,1619,1638,1738,1742,1756,1770,1927,1931,1934,1949,2087,2091,2101,2115,2197,2212,2216,2255],[168,169,170,171,175],"p",{},"Recipes are ready-made triggers for things almost every course needs: a button that opens a pop-up, a \"Next\" button, points that add up. Each recipe tells you what to click in the editor. Below it you find the same trigger in the ",[172,173,174],"a",{"href":143},"course script",", the text format AI apps use. You only need that part if you work with an AI; otherwise just skip the gray boxes.",[168,177,178],{},"What you need to know for this page:",[180,181,182,193,199],"ul",{},[183,184,185,189,190,192],"li",{},[186,187,188],"strong",{},"Trigger",": a rule \"when something happens, do something\". How triggers work: ",[172,191,73],{"href":74},".",[183,194,195,198],{},[186,196,197],{},"Quick start",": six of the recipes are built right into the trigger window.",[183,200,201,204,205,209],{},[186,202,203],{},"Key",": in the course script, objects, layers and slides are named by a short key such as ",[206,207,208],"code",{},"btn-next",". In the editor you simply pick them from a list.",[211,212,214],"h2",{"id":213},"use-a-recipe-in-3-steps","Use a recipe in 3 steps",[216,217,218,223,230,234,246,250],"procedure",{},[219,220,222],"h3",{"id":221},"select-the-object","Select the object",[168,224,225,226,229],{},"Click the object that should react, for example your button. Then open the ",[186,227,228],{},"Triggers"," tab (lightning icon) in the properties panel on the right.",[219,231,233],{"id":232},"open-a-new-trigger","Open a new trigger",[168,235,236,237,239,240,243,244,192],{},"Click ",[186,238,188],{},". The window ",[186,241,242],{},"New trigger"," opens. At the top you see ",[186,245,197],{},[219,247,249],{"id":248},"pick-the-recipe-and-adjust-it","Pick the recipe and adjust it",[168,251,252,253,256,257,192],{},"Click a template, for example ",[186,254,255],{},"Button shows layer",". All fields below are filled in. Pick the right layer or slide where needed, check the sentence at the top and click ",[186,258,259],{},"Add trigger",[168,261,262],{},[263,264],"img",{"alt":265,"src":266},"Quick start in the trigger window with the six templates Button shows layer, Go to the next slide, Change state on click, Count points, Close layer and Skip slide if variable is true","\u002Fscreenshots\u002Fen\u002Ftrigger-recipes-quick-start.png",[211,268,270],{"id":269},"the-built-in-templates","The built-in templates",[272,273,274,287],"table",{},[275,276,277],"thead",{},[278,279,280,284],"tr",{},[281,282,283],"th",{},"Template",[281,285,286],{},"What it does",[288,289,290,300,310,320,330,340],"tbody",{},[278,291,292,297],{},[293,294,295],"td",{},[186,296,255],{},[293,298,299],{},"A click on an object shows a layer, for example a pop-up.",[278,301,302,307],{},[293,303,304],{},[186,305,306],{},"Go to the next slide",[293,308,309],{},"A click on an object goes to the next slide.",[278,311,312,317],{},[293,313,314],{},[186,315,316],{},"Change state on click",[293,318,319],{},"The clicked object changes to the \"Selected\" state.",[278,321,322,327],{},[293,323,324],{},[186,325,326],{},"Count points (variable +1)",[293,328,329],{},"Every click adds 1 to a number variable.",[278,331,332,337],{},[293,333,334],{},[186,335,336],{},"Close layer",[293,338,339],{},"A click hides the layer again, for example from an \"X\".",[278,341,342,347],{},[293,343,344],{},[186,345,346],{},"Skip slide if variable is true",[293,348,349],{},"When the slide starts, it moves on right away if a true\u002Ffalse variable is true.",[211,351,353],{"id":352},"button-shows-a-layer","Button shows a layer",[168,355,356],{},"A click on \"Learn more\" opens the layer \"details\".",[180,358,359],{},[183,360,361,362,364,365,367,368,192],{},"In the editor: select the button, click ",[186,363,188],{},", Quick start ",[186,366,255],{},", choose the layer under ",[186,369,370],{},"Layer",[372,373,378],"pre",{"className":374,"code":375,"language":376,"meta":377,"style":377},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{ \"when\": { \"type\": \"click\", \"object\": \"btn-more\" }, \"do\": { \"type\": \"showLayer\", \"layer\": \"details\" } }\n","json","",[206,379,380],{"__ignoreMap":377},[381,382,385,389,392,396,399,402,405,407,411,413,415,417,421,423,426,428,431,433,435,437,440,442,445,447,450,452,454,456,458,460,462,464,466,469,471,473,475,478,480,482,484,487,489,492],"span",{"class":383,"line":384},"line",1,[381,386,388],{"class":387},"sMK4o","{",[381,390,391],{"class":387}," \"",[381,393,395],{"class":394},"spNyl","when",[381,397,398],{"class":387},"\"",[381,400,401],{"class":387},":",[381,403,404],{"class":387}," {",[381,406,391],{"class":387},[381,408,410],{"class":409},"sBMFI","type",[381,412,398],{"class":387},[381,414,401],{"class":387},[381,416,391],{"class":387},[381,418,420],{"class":419},"sfazB","click",[381,422,398],{"class":387},[381,424,425],{"class":387},",",[381,427,391],{"class":387},[381,429,430],{"class":409},"object",[381,432,398],{"class":387},[381,434,401],{"class":387},[381,436,391],{"class":387},[381,438,439],{"class":419},"btn-more",[381,441,398],{"class":387},[381,443,444],{"class":387}," },",[381,446,391],{"class":387},[381,448,449],{"class":394},"do",[381,451,398],{"class":387},[381,453,401],{"class":387},[381,455,404],{"class":387},[381,457,391],{"class":387},[381,459,410],{"class":409},[381,461,398],{"class":387},[381,463,401],{"class":387},[381,465,391],{"class":387},[381,467,468],{"class":419},"showLayer",[381,470,398],{"class":387},[381,472,425],{"class":387},[381,474,391],{"class":387},[381,476,477],{"class":409},"layer",[381,479,398],{"class":387},[381,481,401],{"class":387},[381,483,391],{"class":387},[381,485,486],{"class":419},"details",[381,488,398],{"class":387},[381,490,491],{"class":387}," }",[381,493,494],{"class":387}," }\n",[211,496,498],{"id":497},"close-a-layer","Close a layer",[168,500,501],{},"A click on the \"X\" in the layer hides it again. Put this trigger on the layer itself: first click the layer at the top of the stage, then add the trigger.",[180,503,504],{},[183,505,506,507,192],{},"In the editor: select the close button on the layer, Quick start ",[186,508,336],{},[372,510,512],{"className":374,"code":511,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"click\", \"object\": \"btn-close\" }, \"do\": { \"type\": \"hideLayer\" } }\n",[206,513,514],{"__ignoreMap":377},[381,515,516,518,520,522,524,526,528,530,532,534,536,538,540,542,544,546,548,550,552,554,557,559,561,563,565,567,569,571,573,575,577,579,581,584,586,588],{"class":383,"line":384},[381,517,388],{"class":387},[381,519,391],{"class":387},[381,521,395],{"class":394},[381,523,398],{"class":387},[381,525,401],{"class":387},[381,527,404],{"class":387},[381,529,391],{"class":387},[381,531,410],{"class":409},[381,533,398],{"class":387},[381,535,401],{"class":387},[381,537,391],{"class":387},[381,539,420],{"class":419},[381,541,398],{"class":387},[381,543,425],{"class":387},[381,545,391],{"class":387},[381,547,430],{"class":409},[381,549,398],{"class":387},[381,551,401],{"class":387},[381,553,391],{"class":387},[381,555,556],{"class":419},"btn-close",[381,558,398],{"class":387},[381,560,444],{"class":387},[381,562,391],{"class":387},[381,564,449],{"class":394},[381,566,398],{"class":387},[381,568,401],{"class":387},[381,570,404],{"class":387},[381,572,391],{"class":387},[381,574,410],{"class":409},[381,576,398],{"class":387},[381,578,401],{"class":387},[381,580,391],{"class":387},[381,582,583],{"class":419},"hideLayer",[381,585,398],{"class":387},[381,587,491],{"class":387},[381,589,494],{"class":387},[211,591,306],{"id":592},"go-to-the-next-slide",[180,594,595],{},[183,596,597,598,192],{},"In the editor: select your button, Quick start ",[186,599,306],{},[372,601,603],{"className":374,"code":602,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"click\", \"object\": \"btn-next\" }, \"do\": { \"type\": \"nextSlide\" } }\n",[206,604,605],{"__ignoreMap":377},[381,606,607,609,611,613,615,617,619,621,623,625,627,629,631,633,635,637,639,641,643,645,647,649,651,653,655,657,659,661,663,665,667,669,671,674,676,678],{"class":383,"line":384},[381,608,388],{"class":387},[381,610,391],{"class":387},[381,612,395],{"class":394},[381,614,398],{"class":387},[381,616,401],{"class":387},[381,618,404],{"class":387},[381,620,391],{"class":387},[381,622,410],{"class":409},[381,624,398],{"class":387},[381,626,401],{"class":387},[381,628,391],{"class":387},[381,630,420],{"class":419},[381,632,398],{"class":387},[381,634,425],{"class":387},[381,636,391],{"class":387},[381,638,430],{"class":409},[381,640,398],{"class":387},[381,642,401],{"class":387},[381,644,391],{"class":387},[381,646,208],{"class":419},[381,648,398],{"class":387},[381,650,444],{"class":387},[381,652,391],{"class":387},[381,654,449],{"class":394},[381,656,398],{"class":387},[381,658,401],{"class":387},[381,660,404],{"class":387},[381,662,391],{"class":387},[381,664,410],{"class":409},[381,666,398],{"class":387},[381,668,401],{"class":387},[381,670,391],{"class":387},[381,672,673],{"class":419},"nextSlide",[381,675,398],{"class":387},[381,677,491],{"class":387},[381,679,494],{"class":387},[211,681,316],{"id":682},"change-state-on-click",[168,684,685],{},"The clicked card changes to \"Selected\", for example to show it was chosen.",[180,687,688],{},[183,689,690,691,192],{},"In the editor: select the card, Quick start ",[186,692,316],{},[372,694,696],{"className":374,"code":695,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"click\", \"object\": \"card-a\" }, \"do\": { \"type\": \"changeState\", \"object\": \"card-a\", \"state\": \"selected\" } }\n",[206,697,698],{"__ignoreMap":377},[381,699,700,702,704,706,708,710,712,714,716,718,720,722,724,726,728,730,732,734,736,738,741,743,745,747,749,751,753,755,757,759,761,763,765,768,770,772,774,776,778,780,782,784,786,788,790,793,795,797,799,802,804,806],{"class":383,"line":384},[381,701,388],{"class":387},[381,703,391],{"class":387},[381,705,395],{"class":394},[381,707,398],{"class":387},[381,709,401],{"class":387},[381,711,404],{"class":387},[381,713,391],{"class":387},[381,715,410],{"class":409},[381,717,398],{"class":387},[381,719,401],{"class":387},[381,721,391],{"class":387},[381,723,420],{"class":419},[381,725,398],{"class":387},[381,727,425],{"class":387},[381,729,391],{"class":387},[381,731,430],{"class":409},[381,733,398],{"class":387},[381,735,401],{"class":387},[381,737,391],{"class":387},[381,739,740],{"class":419},"card-a",[381,742,398],{"class":387},[381,744,444],{"class":387},[381,746,391],{"class":387},[381,748,449],{"class":394},[381,750,398],{"class":387},[381,752,401],{"class":387},[381,754,404],{"class":387},[381,756,391],{"class":387},[381,758,410],{"class":409},[381,760,398],{"class":387},[381,762,401],{"class":387},[381,764,391],{"class":387},[381,766,767],{"class":419},"changeState",[381,769,398],{"class":387},[381,771,425],{"class":387},[381,773,391],{"class":387},[381,775,430],{"class":409},[381,777,398],{"class":387},[381,779,401],{"class":387},[381,781,391],{"class":387},[381,783,740],{"class":419},[381,785,398],{"class":387},[381,787,425],{"class":387},[381,789,391],{"class":387},[381,791,792],{"class":409},"state",[381,794,398],{"class":387},[381,796,401],{"class":387},[381,798,391],{"class":387},[381,800,801],{"class":419},"selected",[381,803,398],{"class":387},[381,805,491],{"class":387},[381,807,494],{"class":387},[211,809,811],{"id":810},"count-points","Count points",[168,813,814],{},"Every click adds 1 to the number variable \"Points\".",[180,816,817],{},[183,818,819,820,822],{},"In the editor: select the button, Quick start ",[186,821,326],{},", choose the variable.",[372,824,826],{"className":374,"code":825,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"click\", \"object\": \"btn-correct\" }, \"do\": { \"type\": \"adjustVariable\", \"variable\": \"Points\", \"op\": \"add\", \"value\": 1 } }\n",[206,827,828],{"__ignoreMap":377},[381,829,830,832,834,836,838,840,842,844,846,848,850,852,854,856,858,860,862,864,866,868,871,873,875,877,879,881,883,885,887,889,891,893,895,898,900,902,904,907,909,911,913,916,918,920,922,925,927,929,931,934,936,938,940,943,945,947,951,953],{"class":383,"line":384},[381,831,388],{"class":387},[381,833,391],{"class":387},[381,835,395],{"class":394},[381,837,398],{"class":387},[381,839,401],{"class":387},[381,841,404],{"class":387},[381,843,391],{"class":387},[381,845,410],{"class":409},[381,847,398],{"class":387},[381,849,401],{"class":387},[381,851,391],{"class":387},[381,853,420],{"class":419},[381,855,398],{"class":387},[381,857,425],{"class":387},[381,859,391],{"class":387},[381,861,430],{"class":409},[381,863,398],{"class":387},[381,865,401],{"class":387},[381,867,391],{"class":387},[381,869,870],{"class":419},"btn-correct",[381,872,398],{"class":387},[381,874,444],{"class":387},[381,876,391],{"class":387},[381,878,449],{"class":394},[381,880,398],{"class":387},[381,882,401],{"class":387},[381,884,404],{"class":387},[381,886,391],{"class":387},[381,888,410],{"class":409},[381,890,398],{"class":387},[381,892,401],{"class":387},[381,894,391],{"class":387},[381,896,897],{"class":419},"adjustVariable",[381,899,398],{"class":387},[381,901,425],{"class":387},[381,903,391],{"class":387},[381,905,906],{"class":409},"variable",[381,908,398],{"class":387},[381,910,401],{"class":387},[381,912,391],{"class":387},[381,914,915],{"class":419},"Points",[381,917,398],{"class":387},[381,919,425],{"class":387},[381,921,391],{"class":387},[381,923,924],{"class":409},"op",[381,926,398],{"class":387},[381,928,401],{"class":387},[381,930,391],{"class":387},[381,932,933],{"class":419},"add",[381,935,398],{"class":387},[381,937,425],{"class":387},[381,939,391],{"class":387},[381,941,942],{"class":409},"value",[381,944,398],{"class":387},[381,946,401],{"class":387},[381,948,950],{"class":949},"sbssI"," 1",[381,952,491],{"class":387},[381,954,494],{"class":387},[211,956,958],{"id":957},"skip-a-slide-when-a-variable-is-true","Skip a slide when a variable is true",[168,960,961],{},"When the slide starts, it moves on at once if \"ChapterDone\" is true. Good for chapters someone has already finished.",[180,963,964],{},[183,965,966,967,822],{},"In the editor: nothing selected, Quick start ",[186,968,346],{},[372,970,972],{"className":374,"code":971,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"timelineStarts\" }, \"if\": [{ \"kind\": \"variable\", \"variable\": \"ChapterDone\", \"op\": \"==\", \"value\": true }], \"do\": { \"type\": \"nextSlide\" } }\n",[206,973,974],{"__ignoreMap":377},[381,975,976,978,980,982,984,986,988,990,992,994,996,998,1001,1003,1005,1007,1010,1012,1014,1017,1019,1022,1024,1026,1028,1030,1032,1034,1036,1038,1040,1042,1044,1047,1049,1051,1053,1055,1057,1059,1061,1064,1066,1068,1070,1072,1074,1076,1079,1082,1084,1086,1088,1090,1092,1094,1096,1098,1100,1102,1104,1106,1108],{"class":383,"line":384},[381,977,388],{"class":387},[381,979,391],{"class":387},[381,981,395],{"class":394},[381,983,398],{"class":387},[381,985,401],{"class":387},[381,987,404],{"class":387},[381,989,391],{"class":387},[381,991,410],{"class":409},[381,993,398],{"class":387},[381,995,401],{"class":387},[381,997,391],{"class":387},[381,999,1000],{"class":419},"timelineStarts",[381,1002,398],{"class":387},[381,1004,444],{"class":387},[381,1006,391],{"class":387},[381,1008,1009],{"class":394},"if",[381,1011,398],{"class":387},[381,1013,401],{"class":387},[381,1015,1016],{"class":387}," [{",[381,1018,391],{"class":387},[381,1020,1021],{"class":409},"kind",[381,1023,398],{"class":387},[381,1025,401],{"class":387},[381,1027,391],{"class":387},[381,1029,906],{"class":419},[381,1031,398],{"class":387},[381,1033,425],{"class":387},[381,1035,391],{"class":387},[381,1037,906],{"class":409},[381,1039,398],{"class":387},[381,1041,401],{"class":387},[381,1043,391],{"class":387},[381,1045,1046],{"class":419},"ChapterDone",[381,1048,398],{"class":387},[381,1050,425],{"class":387},[381,1052,391],{"class":387},[381,1054,924],{"class":409},[381,1056,398],{"class":387},[381,1058,401],{"class":387},[381,1060,391],{"class":387},[381,1062,1063],{"class":419},"==",[381,1065,398],{"class":387},[381,1067,425],{"class":387},[381,1069,391],{"class":387},[381,1071,942],{"class":409},[381,1073,398],{"class":387},[381,1075,401],{"class":387},[381,1077,1078],{"class":387}," true",[381,1080,1081],{"class":387}," }],",[381,1083,391],{"class":387},[381,1085,449],{"class":394},[381,1087,398],{"class":387},[381,1089,401],{"class":387},[381,1091,404],{"class":387},[381,1093,391],{"class":387},[381,1095,410],{"class":409},[381,1097,398],{"class":387},[381,1099,401],{"class":387},[381,1101,391],{"class":387},[381,1103,673],{"class":419},[381,1105,398],{"class":387},[381,1107,491],{"class":387},[381,1109,494],{"class":387},[211,1111,1113],{"id":1112},"branch-on-a-score","Branch on a score",[168,1115,1116],{},"On a decision slide, go to the bonus slide with 8 or more points, otherwise to the review slide.",[180,1118,1119],{},[183,1120,1121,1122,1125,1126,1129,1130,1133,1134,1137,1138,1141,1142,1145,1146,1148],{},"In the editor: action ",[186,1123,1124],{},"Jump to slide"," (bonus), event ",[186,1127,1128],{},"User clicks"," on your button, under ",[186,1131,1132],{},"3 Conditions"," add ",[186,1135,1136],{},"Variable",": \"Points\" is greater than or equal to 8. Under ",[186,1139,1140],{},"Advanced",", turn on ",[186,1143,1144],{},"Else action"," and choose ",[186,1147,1124],{}," (review).",[372,1150,1152],{"className":374,"code":1151,"language":376,"meta":377,"style":377},"{\n  \"when\": { \"type\": \"click\", \"object\": \"btn-continue\" },\n  \"if\": [{ \"kind\": \"variable\", \"variable\": \"Points\", \"op\": \">=\", \"value\": 8 }],\n  \"do\": { \"type\": \"jumpToSlide\", \"slide\": \"bonus\" },\n  \"else\": { \"type\": \"jumpToSlide\", \"slide\": \"review\" }\n}\n",[206,1153,1154,1159,1207,1283,1331,1378],{"__ignoreMap":377},[381,1155,1156],{"class":383,"line":384},[381,1157,1158],{"class":387},"{\n",[381,1160,1162,1165,1167,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1202,1204],{"class":383,"line":1161},2,[381,1163,1164],{"class":387},"  \"",[381,1166,395],{"class":394},[381,1168,398],{"class":387},[381,1170,401],{"class":387},[381,1172,404],{"class":387},[381,1174,391],{"class":387},[381,1176,410],{"class":409},[381,1178,398],{"class":387},[381,1180,401],{"class":387},[381,1182,391],{"class":387},[381,1184,420],{"class":419},[381,1186,398],{"class":387},[381,1188,425],{"class":387},[381,1190,391],{"class":387},[381,1192,430],{"class":409},[381,1194,398],{"class":387},[381,1196,401],{"class":387},[381,1198,391],{"class":387},[381,1200,1201],{"class":419},"btn-continue",[381,1203,398],{"class":387},[381,1205,1206],{"class":387}," },\n",[381,1208,1210,1212,1214,1216,1218,1220,1222,1224,1226,1228,1230,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260,1262,1265,1267,1269,1271,1273,1275,1277,1280],{"class":383,"line":1209},3,[381,1211,1164],{"class":387},[381,1213,1009],{"class":394},[381,1215,398],{"class":387},[381,1217,401],{"class":387},[381,1219,1016],{"class":387},[381,1221,391],{"class":387},[381,1223,1021],{"class":409},[381,1225,398],{"class":387},[381,1227,401],{"class":387},[381,1229,391],{"class":387},[381,1231,906],{"class":419},[381,1233,398],{"class":387},[381,1235,425],{"class":387},[381,1237,391],{"class":387},[381,1239,906],{"class":409},[381,1241,398],{"class":387},[381,1243,401],{"class":387},[381,1245,391],{"class":387},[381,1247,915],{"class":419},[381,1249,398],{"class":387},[381,1251,425],{"class":387},[381,1253,391],{"class":387},[381,1255,924],{"class":409},[381,1257,398],{"class":387},[381,1259,401],{"class":387},[381,1261,391],{"class":387},[381,1263,1264],{"class":419},">=",[381,1266,398],{"class":387},[381,1268,425],{"class":387},[381,1270,391],{"class":387},[381,1272,942],{"class":409},[381,1274,398],{"class":387},[381,1276,401],{"class":387},[381,1278,1279],{"class":949}," 8",[381,1281,1282],{"class":387}," }],\n",[381,1284,1286,1288,1290,1292,1294,1296,1298,1300,1302,1304,1306,1309,1311,1313,1315,1318,1320,1322,1324,1327,1329],{"class":383,"line":1285},4,[381,1287,1164],{"class":387},[381,1289,449],{"class":394},[381,1291,398],{"class":387},[381,1293,401],{"class":387},[381,1295,404],{"class":387},[381,1297,391],{"class":387},[381,1299,410],{"class":409},[381,1301,398],{"class":387},[381,1303,401],{"class":387},[381,1305,391],{"class":387},[381,1307,1308],{"class":419},"jumpToSlide",[381,1310,398],{"class":387},[381,1312,425],{"class":387},[381,1314,391],{"class":387},[381,1316,1317],{"class":409},"slide",[381,1319,398],{"class":387},[381,1321,401],{"class":387},[381,1323,391],{"class":387},[381,1325,1326],{"class":419},"bonus",[381,1328,398],{"class":387},[381,1330,1206],{"class":387},[381,1332,1334,1336,1339,1341,1343,1345,1347,1349,1351,1353,1355,1357,1359,1361,1363,1365,1367,1369,1371,1374,1376],{"class":383,"line":1333},5,[381,1335,1164],{"class":387},[381,1337,1338],{"class":394},"else",[381,1340,398],{"class":387},[381,1342,401],{"class":387},[381,1344,404],{"class":387},[381,1346,391],{"class":387},[381,1348,410],{"class":409},[381,1350,398],{"class":387},[381,1352,401],{"class":387},[381,1354,391],{"class":387},[381,1356,1308],{"class":419},[381,1358,398],{"class":387},[381,1360,425],{"class":387},[381,1362,391],{"class":387},[381,1364,1317],{"class":409},[381,1366,398],{"class":387},[381,1368,401],{"class":387},[381,1370,391],{"class":387},[381,1372,1373],{"class":419},"review",[381,1375,398],{"class":387},[381,1377,494],{"class":387},[381,1379,1381],{"class":383,"line":1380},6,[381,1382,1383],{"class":387},"}\n",[211,1385,1387],{"id":1386},"unlock-next-after-a-video","Unlock Next after a video",[168,1389,1390],{},"Hide your own Next button at the start and show it when the video ends.",[180,1392,1393],{},[183,1394,1121,1395,1398,1399,1402],{},[186,1396,1397],{},"Show object"," (your Next button), event ",[186,1400,1401],{},"Media completes"," with the video as object.",[372,1404,1406],{"className":374,"code":1405,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"mediaCompletes\", \"object\": \"intro-video\" }, \"do\": { \"type\": \"showObject\", \"object\": \"btn-next\" } }\n",[206,1407,1408],{"__ignoreMap":377},[381,1409,1410,1412,1414,1416,1418,1420,1422,1424,1426,1428,1430,1432,1435,1437,1439,1441,1443,1445,1447,1449,1452,1454,1456,1458,1460,1462,1464,1466,1468,1470,1472,1474,1476,1479,1481,1483,1485,1487,1489,1491,1493,1495,1497,1499],{"class":383,"line":384},[381,1411,388],{"class":387},[381,1413,391],{"class":387},[381,1415,395],{"class":394},[381,1417,398],{"class":387},[381,1419,401],{"class":387},[381,1421,404],{"class":387},[381,1423,391],{"class":387},[381,1425,410],{"class":409},[381,1427,398],{"class":387},[381,1429,401],{"class":387},[381,1431,391],{"class":387},[381,1433,1434],{"class":419},"mediaCompletes",[381,1436,398],{"class":387},[381,1438,425],{"class":387},[381,1440,391],{"class":387},[381,1442,430],{"class":409},[381,1444,398],{"class":387},[381,1446,401],{"class":387},[381,1448,391],{"class":387},[381,1450,1451],{"class":419},"intro-video",[381,1453,398],{"class":387},[381,1455,444],{"class":387},[381,1457,391],{"class":387},[381,1459,449],{"class":394},[381,1461,398],{"class":387},[381,1463,401],{"class":387},[381,1465,404],{"class":387},[381,1467,391],{"class":387},[381,1469,410],{"class":409},[381,1471,398],{"class":387},[381,1473,401],{"class":387},[381,1475,391],{"class":387},[381,1477,1478],{"class":419},"showObject",[381,1480,398],{"class":387},[381,1482,425],{"class":387},[381,1484,391],{"class":387},[381,1486,430],{"class":409},[381,1488,398],{"class":387},[381,1490,401],{"class":387},[381,1492,391],{"class":387},[381,1494,208],{"class":419},[381,1496,398],{"class":387},[381,1498,491],{"class":387},[381,1500,494],{"class":387},[211,1502,1504],{"id":1503},"show-a-hint-after-five-seconds","Show a hint after five seconds",[180,1506,1507],{},[183,1508,1121,1509,1512,1513,1516],{},[186,1510,1511],{},"Show layer"," (hint), event ",[186,1514,1515],{},"Timeline reaches",", point in time 5 seconds.",[372,1518,1520],{"className":374,"code":1519,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"timelineReaches\", \"time\": 5000 }, \"do\": { \"type\": \"showLayer\", \"layer\": \"hint\" } }\n",[206,1521,1522],{"__ignoreMap":377},[381,1523,1524,1526,1528,1530,1532,1534,1536,1538,1540,1542,1544,1546,1549,1551,1553,1555,1558,1560,1562,1565,1567,1569,1571,1573,1575,1577,1579,1581,1583,1585,1587,1589,1591,1593,1595,1597,1599,1601,1603,1606,1608,1610],{"class":383,"line":384},[381,1525,388],{"class":387},[381,1527,391],{"class":387},[381,1529,395],{"class":394},[381,1531,398],{"class":387},[381,1533,401],{"class":387},[381,1535,404],{"class":387},[381,1537,391],{"class":387},[381,1539,410],{"class":409},[381,1541,398],{"class":387},[381,1543,401],{"class":387},[381,1545,391],{"class":387},[381,1547,1548],{"class":419},"timelineReaches",[381,1550,398],{"class":387},[381,1552,425],{"class":387},[381,1554,391],{"class":387},[381,1556,1557],{"class":409},"time",[381,1559,398],{"class":387},[381,1561,401],{"class":387},[381,1563,1564],{"class":949}," 5000",[381,1566,444],{"class":387},[381,1568,391],{"class":387},[381,1570,449],{"class":394},[381,1572,398],{"class":387},[381,1574,401],{"class":387},[381,1576,404],{"class":387},[381,1578,391],{"class":387},[381,1580,410],{"class":409},[381,1582,398],{"class":387},[381,1584,401],{"class":387},[381,1586,391],{"class":387},[381,1588,468],{"class":419},[381,1590,398],{"class":387},[381,1592,425],{"class":387},[381,1594,391],{"class":387},[381,1596,477],{"class":409},[381,1598,398],{"class":387},[381,1600,401],{"class":387},[381,1602,391],{"class":387},[381,1604,1605],{"class":419},"hint",[381,1607,398],{"class":387},[381,1609,491],{"class":387},[381,1611,494],{"class":387},[211,1613,1615],{"id":1614},"keyboard-shortcut-for-help-course-wide","Keyboard shortcut for help (course-wide)",[168,1617,1618],{},"A project trigger: pressing H anywhere opens the help slide as a lightbox (a window on top of the current slide).",[180,1620,1621],{},[183,1622,1121,1623,1626,1627,1630,1631,1634,1635,192],{},[186,1624,1625],{},"Slide as lightbox"," (help slide), event ",[186,1628,1629],{},"Key pressed",", key H. Under ",[186,1632,1633],{},"Advanced: Save in",", choose ",[186,1636,1637],{},"Project",[372,1639,1641],{"className":374,"code":1640,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"keyPress\", \"key\": \"h\" }, \"do\": { \"type\": \"lightboxSlide\", \"slide\": \"help\" } }\n",[206,1642,1643],{"__ignoreMap":377},[381,1644,1645,1647,1649,1651,1653,1655,1657,1659,1661,1663,1665,1667,1670,1672,1674,1676,1679,1681,1683,1685,1688,1690,1692,1694,1696,1698,1700,1702,1704,1706,1708,1710,1712,1715,1717,1719,1721,1723,1725,1727,1729,1732,1734,1736],{"class":383,"line":384},[381,1646,388],{"class":387},[381,1648,391],{"class":387},[381,1650,395],{"class":394},[381,1652,398],{"class":387},[381,1654,401],{"class":387},[381,1656,404],{"class":387},[381,1658,391],{"class":387},[381,1660,410],{"class":409},[381,1662,398],{"class":387},[381,1664,401],{"class":387},[381,1666,391],{"class":387},[381,1668,1669],{"class":419},"keyPress",[381,1671,398],{"class":387},[381,1673,425],{"class":387},[381,1675,391],{"class":387},[381,1677,1678],{"class":409},"key",[381,1680,398],{"class":387},[381,1682,401],{"class":387},[381,1684,391],{"class":387},[381,1686,1687],{"class":419},"h",[381,1689,398],{"class":387},[381,1691,444],{"class":387},[381,1693,391],{"class":387},[381,1695,449],{"class":394},[381,1697,398],{"class":387},[381,1699,401],{"class":387},[381,1701,404],{"class":387},[381,1703,391],{"class":387},[381,1705,410],{"class":409},[381,1707,398],{"class":387},[381,1709,401],{"class":387},[381,1711,391],{"class":387},[381,1713,1714],{"class":419},"lightboxSlide",[381,1716,398],{"class":387},[381,1718,425],{"class":387},[381,1720,391],{"class":387},[381,1722,1317],{"class":409},[381,1724,398],{"class":387},[381,1726,401],{"class":387},[381,1728,391],{"class":387},[381,1730,1731],{"class":419},"help",[381,1733,398],{"class":387},[381,1735,491],{"class":387},[381,1737,494],{"class":387},[211,1739,1741],{"id":1740},"store-a-name-and-greet","Store a name and greet",[168,1743,1744,1745,1748,1749,1751,1752,1755],{},"A text input stores what learners type in the text variable \"Name\". You link the two in the ",[186,1746,1747],{},"Format"," tab of the text input, field ",[186,1750,1136],{},". A text box on the next slide reads ",[206,1753,1754],{},"Welcome, %Name%!",". To show the Next button only after something was typed:",[180,1757,1758],{},[183,1759,1121,1760,1762,1763,1766,1767,1769],{},[186,1761,1397],{}," (Next button), event ",[186,1764,1765],{},"Focus lost"," on the text input, condition ",[186,1768,1136],{},": \"Name\" is not empty.",[372,1771,1773],{"className":374,"code":1772,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"loseFocus\", \"object\": \"name-input\" }, \"if\": [{ \"kind\": \"variable\", \"variable\": \"Name\", \"op\": \"isNotEmpty\" }], \"do\": { \"type\": \"showObject\", \"object\": \"btn-next\" } }\n",[206,1774,1775],{"__ignoreMap":377},[381,1776,1777,1779,1781,1783,1785,1787,1789,1791,1793,1795,1797,1799,1802,1804,1806,1808,1810,1812,1814,1816,1819,1821,1823,1825,1827,1829,1831,1833,1835,1837,1839,1841,1843,1845,1847,1849,1851,1853,1855,1857,1859,1862,1864,1866,1868,1870,1872,1874,1876,1879,1881,1883,1885,1887,1889,1891,1893,1895,1897,1899,1901,1903,1905,1907,1909,1911,1913,1915,1917,1919,1921,1923,1925],{"class":383,"line":384},[381,1778,388],{"class":387},[381,1780,391],{"class":387},[381,1782,395],{"class":394},[381,1784,398],{"class":387},[381,1786,401],{"class":387},[381,1788,404],{"class":387},[381,1790,391],{"class":387},[381,1792,410],{"class":409},[381,1794,398],{"class":387},[381,1796,401],{"class":387},[381,1798,391],{"class":387},[381,1800,1801],{"class":419},"loseFocus",[381,1803,398],{"class":387},[381,1805,425],{"class":387},[381,1807,391],{"class":387},[381,1809,430],{"class":409},[381,1811,398],{"class":387},[381,1813,401],{"class":387},[381,1815,391],{"class":387},[381,1817,1818],{"class":419},"name-input",[381,1820,398],{"class":387},[381,1822,444],{"class":387},[381,1824,391],{"class":387},[381,1826,1009],{"class":394},[381,1828,398],{"class":387},[381,1830,401],{"class":387},[381,1832,1016],{"class":387},[381,1834,391],{"class":387},[381,1836,1021],{"class":409},[381,1838,398],{"class":387},[381,1840,401],{"class":387},[381,1842,391],{"class":387},[381,1844,906],{"class":419},[381,1846,398],{"class":387},[381,1848,425],{"class":387},[381,1850,391],{"class":387},[381,1852,906],{"class":409},[381,1854,398],{"class":387},[381,1856,401],{"class":387},[381,1858,391],{"class":387},[381,1860,1861],{"class":419},"Name",[381,1863,398],{"class":387},[381,1865,425],{"class":387},[381,1867,391],{"class":387},[381,1869,924],{"class":409},[381,1871,398],{"class":387},[381,1873,401],{"class":387},[381,1875,391],{"class":387},[381,1877,1878],{"class":419},"isNotEmpty",[381,1880,398],{"class":387},[381,1882,1081],{"class":387},[381,1884,391],{"class":387},[381,1886,449],{"class":394},[381,1888,398],{"class":387},[381,1890,401],{"class":387},[381,1892,404],{"class":387},[381,1894,391],{"class":387},[381,1896,410],{"class":409},[381,1898,398],{"class":387},[381,1900,401],{"class":387},[381,1902,391],{"class":387},[381,1904,1478],{"class":419},[381,1906,398],{"class":387},[381,1908,425],{"class":387},[381,1910,391],{"class":387},[381,1912,430],{"class":409},[381,1914,398],{"class":387},[381,1916,401],{"class":387},[381,1918,391],{"class":387},[381,1920,208],{"class":419},[381,1922,398],{"class":387},[381,1924,491],{"class":387},[381,1926,494],{"class":387},[211,1928,1930],{"id":1929},"simpler-layout-on-phones","Simpler layout on phones",[168,1932,1933],{},"Show a simplified layer when the player window is narrower than 600 px.",[180,1935,1936],{},[183,1937,1121,1938,1940,1941,1944,1945,1948],{},[186,1939,1511],{},", event ",[186,1942,1943],{},"Timeline starts",", condition ",[186,1946,1947],{},"Window width"," narrower than 600 px.",[372,1950,1952],{"className":374,"code":1951,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"timelineStarts\" }, \"if\": [{ \"kind\": \"window\", \"op\": \"\u003C\", \"width\": 600 }], \"do\": { \"type\": \"showLayer\", \"layer\": \"compact\" } }\n",[206,1953,1954],{"__ignoreMap":377},[381,1955,1956,1958,1960,1962,1964,1966,1968,1970,1972,1974,1976,1978,1980,1982,1984,1986,1988,1990,1992,1994,1996,1998,2000,2002,2004,2007,2009,2011,2013,2015,2017,2019,2021,2024,2026,2028,2030,2033,2035,2037,2040,2042,2044,2046,2048,2050,2052,2054,2056,2058,2060,2062,2064,2066,2068,2070,2072,2074,2076,2078,2081,2083,2085],{"class":383,"line":384},[381,1957,388],{"class":387},[381,1959,391],{"class":387},[381,1961,395],{"class":394},[381,1963,398],{"class":387},[381,1965,401],{"class":387},[381,1967,404],{"class":387},[381,1969,391],{"class":387},[381,1971,410],{"class":409},[381,1973,398],{"class":387},[381,1975,401],{"class":387},[381,1977,391],{"class":387},[381,1979,1000],{"class":419},[381,1981,398],{"class":387},[381,1983,444],{"class":387},[381,1985,391],{"class":387},[381,1987,1009],{"class":394},[381,1989,398],{"class":387},[381,1991,401],{"class":387},[381,1993,1016],{"class":387},[381,1995,391],{"class":387},[381,1997,1021],{"class":409},[381,1999,398],{"class":387},[381,2001,401],{"class":387},[381,2003,391],{"class":387},[381,2005,2006],{"class":419},"window",[381,2008,398],{"class":387},[381,2010,425],{"class":387},[381,2012,391],{"class":387},[381,2014,924],{"class":409},[381,2016,398],{"class":387},[381,2018,401],{"class":387},[381,2020,391],{"class":387},[381,2022,2023],{"class":419},"\u003C",[381,2025,398],{"class":387},[381,2027,425],{"class":387},[381,2029,391],{"class":387},[381,2031,2032],{"class":409},"width",[381,2034,398],{"class":387},[381,2036,401],{"class":387},[381,2038,2039],{"class":949}," 600",[381,2041,1081],{"class":387},[381,2043,391],{"class":387},[381,2045,449],{"class":394},[381,2047,398],{"class":387},[381,2049,401],{"class":387},[381,2051,404],{"class":387},[381,2053,391],{"class":387},[381,2055,410],{"class":409},[381,2057,398],{"class":387},[381,2059,401],{"class":387},[381,2061,391],{"class":387},[381,2063,468],{"class":419},[381,2065,398],{"class":387},[381,2067,425],{"class":387},[381,2069,391],{"class":387},[381,2071,477],{"class":409},[381,2073,398],{"class":387},[381,2075,401],{"class":387},[381,2077,391],{"class":387},[381,2079,2080],{"class":419},"compact",[381,2082,398],{"class":387},[381,2084,491],{"class":387},[381,2086,494],{"class":387},[211,2088,2090],{"id":2089},"complete-the-course-on-the-last-slide","Complete the course on the last slide",[168,2092,2093,2094,2097,2098,2100],{},"For the completion rule ",[186,2095,2096],{},"By trigger"," in the publish window (see ",[172,2099,93],{"href":94},").",[180,2102,2103],{},[183,2104,2105,2106,2109,2110,1940,2113,192],{},"In the editor: on the last slide, action ",[186,2107,2108],{},"Complete course"," with status ",[186,2111,2112],{},"Completed",[186,2114,1943],{},[372,2116,2118],{"className":374,"code":2117,"language":376,"meta":377,"style":377},"{ \"when\": { \"type\": \"timelineStarts\" }, \"do\": { \"type\": \"completeCourse\", \"status\": \"completed\" } }\n",[206,2119,2120],{"__ignoreMap":377},[381,2121,2122,2124,2126,2128,2130,2132,2134,2136,2138,2140,2142,2144,2146,2148,2150,2152,2154,2156,2158,2160,2162,2164,2166,2168,2170,2173,2175,2177,2179,2182,2184,2186,2188,2191,2193,2195],{"class":383,"line":384},[381,2123,388],{"class":387},[381,2125,391],{"class":387},[381,2127,395],{"class":394},[381,2129,398],{"class":387},[381,2131,401],{"class":387},[381,2133,404],{"class":387},[381,2135,391],{"class":387},[381,2137,410],{"class":409},[381,2139,398],{"class":387},[381,2141,401],{"class":387},[381,2143,391],{"class":387},[381,2145,1000],{"class":419},[381,2147,398],{"class":387},[381,2149,444],{"class":387},[381,2151,391],{"class":387},[381,2153,449],{"class":394},[381,2155,398],{"class":387},[381,2157,401],{"class":387},[381,2159,404],{"class":387},[381,2161,391],{"class":387},[381,2163,410],{"class":409},[381,2165,398],{"class":387},[381,2167,401],{"class":387},[381,2169,391],{"class":387},[381,2171,2172],{"class":419},"completeCourse",[381,2174,398],{"class":387},[381,2176,425],{"class":387},[381,2178,391],{"class":387},[381,2180,2181],{"class":409},"status",[381,2183,398],{"class":387},[381,2185,401],{"class":387},[381,2187,391],{"class":387},[381,2189,2190],{"class":419},"completed",[381,2192,398],{"class":387},[381,2194,491],{"class":387},[381,2196,494],{"class":387},[2198,2199,2202,2203,2205,2206,2208,2209,2211],"hint-box",{"kind":2200,"title":2201},"tip","Keys, not names","In the course script, triggers refer to objects, layers and slides by their ",[186,2204,1678],{}," (",[206,2207,208],{},", ",[206,2210,486],{},"). If a key is wrong, the check answers with a suggestion such as \"Did you mean 'btn-next'?\".",[211,2213,2215],{"id":2214},"if-something-doesnt-work","If something doesn't work",[180,2217,2218,2224,2238,2247],{},[183,2219,2220,2223],{},[186,2221,2222],{},"The layer opens but won't close",": the close trigger must be stored on the layer, not on the slide.",[183,2225,2226,2229,2230,2233,2234,2100],{},[186,2227,2228],{},"Points don't add up",": check that the variable has the type ",[186,2231,2232],{},"Number"," and starts at 0 (",[2235,2236],"ui-path",{"path":2237},"View > Variables",[183,2239,2240,2243,2244,2100],{},[186,2241,2242],{},"The keyboard shortcut only works on one slide",": it must be a project trigger (",[186,2245,2246],{},"Advanced: Save in > Project",[183,2248,2249,2252,2253,192],{},[186,2250,2251],{},"\"Complete course\" has no effect in Moodle",": in the publish window, the completion rule must be ",[186,2254,2096],{},[2256,2257,2258],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":377,"searchDepth":1161,"depth":1161,"links":2260},[2261,2266,2267,2268,2269,2270,2271,2272,2273,2274,2275,2276,2277,2278,2279,2280],{"id":213,"depth":1161,"text":214,"children":2262},[2263,2264,2265],{"id":221,"depth":1209,"text":222},{"id":232,"depth":1209,"text":233},{"id":248,"depth":1209,"text":249},{"id":269,"depth":1161,"text":270},{"id":352,"depth":1161,"text":353},{"id":497,"depth":1161,"text":498},{"id":592,"depth":1161,"text":306},{"id":682,"depth":1161,"text":316},{"id":810,"depth":1161,"text":811},{"id":957,"depth":1161,"text":958},{"id":1112,"depth":1161,"text":1113},{"id":1386,"depth":1161,"text":1387},{"id":1503,"depth":1161,"text":1504},{"id":1614,"depth":1161,"text":1615},{"id":1740,"depth":1161,"text":1741},{"id":1929,"depth":1161,"text":1930},{"id":2089,"depth":1161,"text":2090},{"id":2214,"depth":1161,"text":2215},"Ready-made trigger patterns with the clicks in the editor and the same trigger in the course script, ready to copy.","md",null,{},{"icon":80},{"title":77,"description":2281},"fHEDeBGXYXg4amkYilpSErt_gY13BLsdathPE9U8OTk",[2289,2291],{"title":73,"path":74,"stem":75,"description":2290,"icon":68,"children":-1},"Make slides react - events, actions and conditions, variables for text, numbers and true\u002Ffalse, and where triggers live.",{"title":82,"path":83,"stem":84,"description":2292,"icon":85,"children":-1},"Graded questions, surveys and freeform interactions, results slides with passing score, retries and timers, and question banks with random draws.",1793209476294]