Touch Sensor: Difference between revisions
m
Add example and related
Nikitaivanov (talk | contribs) (Created page with "{{Block |image=Touch_Sensor.png |type=s |input1={{Port|e|Before}} |output1={{Port|e|Touched}} |output2={{Port|n|Screen X}} |output3={{Port|n|Screen Y}} |output4={{Port|e|After}} }} Touch Sensor allows to get user input from screen touch or a mouse. == Settings == thumb|Touch Sensor settings The touch sensor has two settings, which can be changed by selecting the script and tapping the buttons that appear in the bottom right corner....") |
-u ndefined- (talk | contribs) m (Add example and related) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
|image=Touch_Sensor.png | |image=Touch_Sensor.png | ||
|type=s | |type=s | ||
|folder=Control | |||
|input1={{Port|e|Before}} | |input1={{Port|e|Before}} | ||
|output1={{Port|e|Touched}} | |output1={{Port|e|Touched}} | ||
| Line 24: | Line 25: | ||
The second setting changes how many fingers have to be touching the screen to trigger the touch sensor. | The second setting changes how many fingers have to be touching the screen to trigger the touch sensor. | ||
== Example == | |||
To determine which left or right side of the screen is touched: | |||
{{Image|Touch_Sensor_left_or_right.png}} | |||
== Related == | |||
* [[Swipe Sensor]] | |||
[[Category:Blocks]] | |||