make the cell phone vibrate

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MicaXD

Hello everybody! I recently made my game on godot for pc, shortly after I decided to remake it for android. however, as I’ve never done that before, I get lost a lot (XD). I wanted to know how to make the cell phone vibrate, and how to ask permission to do that first?
Thank you all ! :slight_smile:

:bust_in_silhouette: Reply From: horsecar123

Input.vibrate_handheld(100) . I think it vibrates even if you dont ask for permission but to ask permision you need to check the vibrate box in your export settings .

Using this method not only vibrates the phone but makes that vibration noise that happens with notifications. This is not ideal, is there a version of this method that just vibrates the phone and doesn’t make any noise?