Show last authors
1 (% class="box infomessage" %)
2 (((
3 Runs the script when the screen is touched.
4
5 The difference to the block //"When tapped"// is that //"When stage is tapped"// applies to the entire screen, while //"When tapped"// is specific to individual sprites or objects, .
6
7 [[image:When_stage_is_tapped_btn.png]]
8 )))
9
10 (% class="row" %)
11 (((
12 (% class="col-xs-12 col-sm-6" %)
13 (((
14 (% class="box" %)
15 (((
16 ==== **Example** ====
17
18 Touch the screen and your object will move 20 steps.
19
20 (% style="text-align:center" %)
21 [[image:When_stage_is_tapped_tutorial.png||alt="When_stage_is_tapped.png"]]
22 )))
23 )))
24
25 (% class="col-xs-12 col-sm-6" %)
26 (((
27 (% class="box" %)
28 (((
29 ==== **Result** ====
30
31 [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/app/project/7c67db85-d8ca-11ea-a5c3-005056a36f47]]
32
33 [[image:when-screen-is-touched-2.gif||alt="When screen is touched Result"]]
34 )))
35 )))
36 )))
37
38 (% id="gtx-trans" style="position: absolute; left: 754px; top: 395px;" %)
39 (((
40 (% class="gtx-trans-icon" %)
41 (((
42
43 )))
44 )))