The Vibrate Extension adds some more functionality to the current vibrate method built-in to Thunkable’s sound component.

Overview

Extension Developer Sander
Clone Starter .aia LINK
Get the .aix Download
Click-to-Copy Link com.sanderjochems.Vibrate.aix
Donate to Developer
License CC 4.0 BY

Thunkable Community

If you have any questions about the Simple Tools extension then head on over to the Thunkable Community where you’ll find lots of amazing people who are happy to help you out.

Installation

If you need any help installing an extension then take a look at our “How to Install an Extension” guide.

Blocks

HasVibrator

HasVibratorBlock
This block is used to detect whether the device has a vibrator. This block returns “true” if the device has a vibrator and is capable of vibrating. Otherwise, it returns “false”.

Vibrate

VibrateBlock
This block is used to activate the vibration. It is measured in miliseconds, this means that putting the number “1000” will make the device vibrate for 1 second.

CancelVibrate

CancelVibrateBlock
If, for whatever reason, you need to stop the device from vibrating, use this method. An example for using this block would be: you click a button and the device vibrates for 10 seconds, after 5 seconds you decide you want to stop the vibration, to stop it, you simply call this block.

VibratePattern

VibratePatternBlock
This block allows you to create vibrations in a pattern.

  • Vibrate - is how long you want it to vibrate for (in miliseconds).
  • Delay - works in conjunction with the ‘repeat’ property, it specifies the time delay before repeating the vibration.
  • Repeat - property can be set to “true” or “false”.

VibrateCancelled

VibrateCancelledBlock
Used to detect when the ‘CancelVibrate’ block is used.

Error Occurred

ErrorOccurredBlock
If an error occurs when using the extension in an app, the blocks inside this event will be called.


Want to Help?

There are lots of great extensions being created and updateed everyday. Keeping this site up to date is a huge task. If you want to help out find out more in the Thunkable Community


Post written by: Conor
Thunkable Community Moderator