[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: +More coming…

All Events:

All Functions:

All Properties:



Extension instructions :speech_balloon:

blocks
Start Initalize sensor


blocks(1)
Or Start Custom Initialize sensor with with the sampling period specified
Sampling peroid block:point_down:
blocks(2)


blocks(3)
Stop sensor


Temperature Sensor

blocks(4)
Start temperature sensor

blocks(6)
Get degree of temperature
degree = temperature '°C'

blocks(5)
Stop temperature sensor


Shake Sensor

blocks(7)
Start shake sensor

blocks(9)
On Shake Dectected

blocks(10)
On Shake Stopped

blocks(8)
Stop shake sensor


Movement Sensor

blocks(13)
Start movement sensor

blocks(11)
On movement detected

blocks(12)
On movement stopped

blocks(14)
Stop movement sensor


PickupDevice Sensor

blocks
Start pickup device sensor

blocks(2)
On device picked up

blocks(3)
On device put down

blocks(1)
Stop pickup device sensor


Scoop Sensor

blocks(5)
Start scoop sensor

blocks(4)
On Scooped gesture detected

blocks(6)
Stop scoope sensor


Steps Sensor

blocks
Start Steps Sensor
@gender :point_down:

blocks(2)

blocks(7)
On detection user Running

blocks(8)
On detection user Walking

blocks(3)
On detection user is not Step or Moveing

blocks(1)
Stop step sensor


Chop Sensor

blocks(1)
Start Chop sensor

blocks
On chop gesture detected

blocks(2)
Stop chop sensor


Wrist Twist Sensor

blocks(4)
Start wrist twist sensor

blocks(6)
On wrist twist gesture detected

blocks(5)
Stop wrist twist sensor


Sound Level Sensor

blocks(1)
Start sound level sensor
blocks
On sound level detected
@level ~float~

blocks(2)
Stop sound level sensor


Flip Sensor

blocks(3)
Start flip sensor

blocks(6)
On Device Facing Down

blocks(5)
On Device Facing Up

blocks(4)
Stop flip sensor


Rotaiton Sensor

blocks(1)
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

blocks(2)
Stop rotation sensor


Tilt Direction Sensor

blocks(3)
Start tilt direction sensor
blocks
Tilt direction on x-axis

blocks(1)
Tilt direction on y-axis

blocks(2)
Tilt direction on z-axis

@direction
blocks(5)

blocks(4)
Stop tilt direction sensor


Orientation Sensor

blocks(4)
Start orientation sensor

blocks(3)
On left side of device is up

blocks(2)
On right side of device is up
blocks(1)
On bottom side of device is up

blocks
On top side of device is up

blocks(5)
Stop orientation sensor


Proximity Sensor

blocks
Start proximity sensor

blocks(3)
On thing is far from device

blocks(2)
On thing is near from device

blocks(1)
Stop proximity sensor


Wave Sensor

blocks(5)
Start wave sensor

blocks(4)
On wave of hand gesture detected

blocks(6)
Stop wave sensor


Light Sensor

blocks
Start light sensor

blocks(3)
On device in dark

blocks(2)
On device in light

blocks(1)
Stop light sensor


Pinch Scale Sensor

blocks
Start pinch scale sensor

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

blocks(4)
On check is user pinch scale
isScalingOut ~boolean~[True || False]

blocks(5)
On scaling started

blocks(6)
On scaling stopped

blocks(1)
Stop pinch scale sensor


TouchType Sensor

blocks(7)
Start touch type sensor

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

blocks(6)
On user double tap in view of SetupTouchGestures block

blocks(5)
On user single tap by 3 fingers

blocks(4)
On user single tap by 2 fingers

blocks(3)
On user fingle tap

blocks(5)
On long press for view of SetupTouchGestures block

blocks(4)
On Swipe
@swipeDirection :point_down:
blocks

blocks(3)
OnScroll
@scrollDirection :point_down:
blocks(6)

blocks(8)
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

blocks(1)
Start finger gesture sensor

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

blocks(4)
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

blocks(3)
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

blocks(9)
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

blocks(7)
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

blocks(6)
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

blocks(5)
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

blocks(2)
On double tap
@finger ~int~ get number of fingers that used to double tap


DEMOS

FingerGesture

Light

blocks

Rotation

blocks

Shake

blocks(1)


I will add the rest of the demos soon


END

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

6 Likes

thank you for your contribution!
how much is the extension? it would be great, if you could add this in the first post to avoid lots of questions like “how much does it cost?” Thank you

Taifun

1 Like

Done :slightly_smiling_face: :point_up_2:

1 Like