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
Start Initalize sensor
Or Start Custom Initialize sensor with with the sampling period specified
Sampling peroid block
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
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
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
Stop tilt direction sensor
Orientation Sensor
Start orientation sensor
On left side of device is up
On right side of device is up
On bottom side of device is up
On top side of device is up
Stop orientation sensor
Proximity Sensor
Start proximity sensor
On thing is far from device
On thing is near from device
Stop proximity sensor
Wave Sensor
Start wave sensor
On wave of hand gesture detected
Stop wave sensor
Light Sensor
Start light sensor
On device in dark
On device in light
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
OnScroll
@scrollDirection
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
DEMOS
Rotation
I will add the rest of the demos soon