---
description: Vibrator component is used to vibrate the device.
---

# Vibrator

## Basic examples of the vibrator

<div align="left"><img src="https://1589143646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3AlXnP5kHENnvBXdKq%2F-MG-y-ejeMA4qaTiVLl0%2F-MG-ysBOcESgm7P-ObND%2Fimage.png?alt=media&#x26;token=7e6f11ce-587b-407c-99d0-e193878fccab" alt=""></div>

Vibrates the device for 100 milliseconds using the sepcifide component, in this case called VibratorName.

{% hint style="warning" %}
The vibrator component is not supported on all devices.
{% endhint %}

## Block

#### Vibrates the device:

<div align="left"><img src="https://1589143646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3AlXnP5kHENnvBXdKq%2F-MG-y-ejeMA4qaTiVLl0%2F-MG-yO0LQDJYHoQX5zOv%2Fimage.png?alt=media&#x26;token=7646706f-8143-4e1a-8fc7-40563d21428a" alt="Vibrates the device for the specified amount of time in milliseconds."></div>



