[PAID] SENSORY || work with sensor events & detecting gestures a breeze

Description :

Hello every one today i’m back with big and awesome extension I did all kinds of sensors in one extension and now you can work with it easily and in an easy way, with some simple blocks

All Blocks:

All Events:

All Functions:

All Properties:



Extension instructions :speech_balloon:


Start Initalize sensor



Or Start Custom Initialize sensor with with the sampling period specified
Sampling peroid block :point_down:


Stop sensor


Temperature Sensor


Start temperature sensor


Get degree of temperature
degree = temperature '°C'


Stop temperature sensor


Shake Sensor


Start shake sensor


On Shake Dectected


On Shake Stopped


Stop shake sensor


Movement Sensor


Start movement sensor


On movement detected


On movement stopped


Stop movement sensor


PickupDevice Sensor


Start pickup device sensor


On device picked up


On device put down


Stop pickup device sensor


Scoop Sensor


Start scoop sensor


On Scooped gesture detected


Stop scoope sensor


Steps Sensor


Start Steps Sensor
@gender :point_down:


On detection user Running


On detection user Walking


On detection user is not Step or Moveing


Stop step sensor


Chop Sensor


Start Chop sensor


On chop gesture detected


Stop chop sensor


Wrist Twist Sensor


Start wrist twist sensor


On wrist twist gesture detected


Stop wrist twist sensor


Sound Level Sensor


Start sound level sensor


On sound level detected
@level ~float~


Stop sound level sensor


Flip Sensor


Start flip sensor


On Device Facing Down


On Device Facing Up


Stop flip sensor


Rotaiton Sensor


Start rotation sensor

blocks
On device rotation
x ~float~ Angle In Axis X
y ~float~ Angle In Axis Y
z ~float~ Angle In Axis Z


Stop rotation sensor


Tilt Direction Sensor


Start tilt direction sensor

Tilt direction on x-axis


Tilt direction on y-axis


Tilt direction on z-axis

@direction
https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/e/b/eb27528efb17ebf1206f2e2b1989894bbb903e97.png

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/b/8/b84e7d85feae10490776c3232b56e2f77a211a56.png

Stop tilt direction sensor


Orientation Sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/e/1/e13e4bd647c4f47e4f6879f20e4e7e8e434dd078.png
Start orientation sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/5/d/5d06003c695f06145ddaa64c4431955d1bfb13ca.png
On left side of device is up

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/6/2/62e4a1ab0e178437517ae7521826bfd4ca9cbbb4.png
On right side of device is up

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/8/4/84a9b789739803e8d2f02d3dfb8b121db28a615f.png
On bottom side of device is up

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/e/2/e280234baa6e30c9dbd93a94e3c11c5bb753ff5e.png
On top side of device is up

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/a/0/a0a7741814955da09e4b0eafb2f88a3f9a746777.png
Stop orientation sensor


Proximity Sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/3/1/31a3ae5fa141c863a31e0cdb7bf67f926ad9a158.png
Start proximity sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/4/e/4e3d9beb47d9205f6ffc721b960ad47d7104a1e3.png

On thing is far from device

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/5/2/5215c931a2a5dbd20d9e57e9b66513a99ade623b.png
On thing is near from device

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/5/0/509b3b3c5701171c507854a705acb9d7342506c1.png
Stop proximity sensor


Wave Sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/0/2/029ab26f5cd5012dbf99c391a6099667fdb05ae1.png
Start wave sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/c/2/c248e7d09f1d9651963222f3e2342342aacdba11.png
On wave of hand gesture detected

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/4/a/4a6dc60299c87e3f520f109a9ce882c0f52bcd7e.png
Stop wave sensor


Light Sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/b/d/bd507989dd976a7339b1703d5785b1a9084bfdc9.png
Start light sensor

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/4/b/4b58d4483f5993b0e108809d162231da0bdba933.png
On device in dark

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/4/1/4113a258fcbba05c959c64aef9fb33d0a63abb1a.png
On device in light

https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/0/8/08112d9cb670c75254b7e3b852c99623e1e884c4.png
Stop light sensor


Pinch Scale Sensor

Start pinch scale sensor

Add this block to detected pinch scale of view
this block is important without it pinch scale blocks will not work

On check is user pinch scale
isScalingOut ~boolean~[True || False]

On scaling started

On scaling stopped

Stop pinch scale sensor


TouchType Sensor

Start touch type sensor

Add this block to detected touch type of view
this block is important without it pinch scale blocks will not work

On user double tap in view of SetupTouchGestures block

On user single tap by 3 fingers

On user single tap by 2 fingers

On user fingle tap

On long press for view of SetupTouchGestures block

On Swipe
@swipeDirection :point_down:

OnScroll
@scrollDirection :point_down:

Stop touch type sensor


Finger Gesture Sensor

finger gesture sensor is like touch type + pinch scale
but it is more specialized in terms of counting the number of fingers touching the screen and other things

Start finger gesture sensor

Add this block to detected finger gesture of view
this block is important without it pinch scale blocks will not work

On pinch
@finger ~int~ get number of fingers that used to pinch
@durationMilliseconds ~long~ get time it took the user to pinch
@distancePixels ~double~ get number of pixels the user clicked when they pinch

On unpinch
@finger ~int~ get number of fingers that used to unpinch
@durationMilliseconds ~long~ get time it took the user to unpinch
@distancePixels ~double~ get number of pixels the user clicked when they unpinch

On swipe up
@finger ~int~ get number of fingers that used to swipe up
@durationMilliseconds ~long~ get time it took the user to swipe up
@distancePixels ~double~ get number of pixels the user clicked when they swipe up

On swipe down
@finger ~int~ get number of fingers that used to swipe down
@durationMilliseconds ~long~ get time it took the user to swipe down
@distancePixels ~double~ get number of pixels the user clicked when they swipe down

On swipe left
@finger ~int~ get number of fingers that used to swipe left
@durationMilliseconds ~long~ get time it took the user to swipe left
@distancePixels ~double~ get number of pixels the user clicked when they swipe left

On swipe right
@finger ~int~ get number of fingers that used to swipe right
@durationMilliseconds ~long~ get time it took the user to swipe right
@distancePixels ~double~ get number of pixels the user clicked when they swipe right

On double tap
@finger ~int~ get number of fingers that used to double tap


END

AIX : PM me to buy it (price: 8.5$) :slightly_smiling_face:

5 Likes

Blocks are not displaying correctly. please update your blocks

1 Like

Where is the pen mark to edit the post?

Click on 3 dots

i did

Seems that you cannot edit your post after a period of time because of the fact that you are trust level 1. I promoted you to trust level 2, do you see that now?

1 Like