Wiki source code of Single tap at x: [value] y: [value]
Last modified by admin on 2023/10/27 09:02
Hide last authors
author | version | line-number | content |
---|---|---|---|
3.1 | 1 | (% class="box infomessage" %) | |
2 | ((( | ||
9.1 | 3 | Simulates a single tap at a specified position of the touchscreen. This brick basically simulates your finger. | |
3.1 | 4 | ||
9.1 | 5 | [[image:single-tap-brick.png]] | |
3.1 | 6 | ))) | |
9.1 | 7 | ||
8 | (% class="row" %) | ||
9 | ((( | ||
10 | (% class="col-xs-12 col-sm-6" %) | ||
11 | ((( | ||
12 | (% class="box" %) | ||
13 | ((( | ||
14 | ==== **Example** ==== | ||
15 | |||
16 | Activates the script when something is spoken. Then it asks for x and y values and taps at the specified position. This will let the pinguin print it self there. | ||
17 | |||
20.1 | 18 | [[image:single-tap-example_1.png||alt="single-tap-example.png"]][[image:single-tap-example_2.png]] | |
9.1 | 19 | ))) | |
20 | ))) | ||
21 | |||
22 | (% class="col-xs-12 col-sm-6" %) | ||
23 | ((( | ||
24 | (% class="box" %) | ||
25 | ((( | ||
26 | ==== **Result** ==== | ||
27 | |||
28 | [[[[image:null4.png||alt="Download"]]>>https://share.catrob.at/app/project/836f0fac-278f-11eb-a92d-005056a36f47]] | ||
29 | |||
10.1 | 30 | [[image:single-tap-example.gif]] | |
9.1 | 31 | ))) | |
32 | ))) | ||
33 | ))) |