Hide last authors
dvd48 3.1 1 (% class="box infomessage" %)
2 (((
dvd48 16.1 3 Let’s the script wait until all other scripts have stopped. This includes all script from all other objects. Scripts can be stopped through the [[stop brick>>doc:Documentation.BrickDocumentation.StopScriptBrick.WebHome]] or when terminated by lack of further operations.
dvd48 3.1 4
admin 40.1 5 [[image:wait-until-all-other-scripts-stopped-brick.png]]
dvd48 3.1 6 )))
dvd48 16.1 7
8 (% class="row" %)
9 (((
10 (% class="col-xs-12 col-sm-6" %)
11 (((
12 (% class="box" %)
13 (((
14 ==== **Example** ====
15
16 This example will demonstrate when the "wait until other scripts have stopped" brick will continue. Every object has ongoing scripts when tapped.
17
admin 40.1 18 [[image:wait-until-all-other-scripts-stopped-7.png]]
dvd48 16.1 19
admin 40.1 20 [[image:wait-until-all-other-scripts-stopped-2_1.png||alt="wait-until-all-other-scripts-stopped-2.png"]][[image:wait-until-all-other-scripts-stopped-2_2.png]]
dvd48 16.1 21
admin 40.1 22 [[image:wait-until-all-other-scripts-stopped-6.png]]
dvd48 16.1 23
admin 40.1 24 [[image:wait-until-all-other-scripts-stopped-3_1.png||alt="wait-until-all-other-scripts-stopped-3.png"]]
25 [[image:wait-until-all-other-scripts-stopped-3_2.png]]
dvd48 16.1 26 The racoon will say "We are done here!" after all other scripts have stopped. This depends on how often you tap the objects.
27
admin 40.1 28 [[image:wait-until-all-other-scripts-stopped-5.png]]
dvd48 16.1 29
admin 40.1 30 [[image:wait-until-all-other-scripts-stopped-4_1.png||alt="wait-until-all-other-scripts-stopped-4.png"]]
31 [[image:wait-until-all-other-scripts-stopped-4_2.png]]
dvd48 16.1 32 )))
33 )))
34
35 (% class="col-xs-12 col-sm-6" %)
36 (((
37 (% class="box" %)
38 (((
39 ==== **Result** ====
40
41 [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/app/project/3b2d42cc-1eec-11eb-a92d-005056a36f47]]
42
admin 40.1 43 [[image:wait-until-all-other-scripts-stopped.gif]]
dvd48 16.1 44 )))
45 )))
46 )))