Type Function Library system.* Return value none Revision 2017.3060 Keywords vibrate
Vibrates the phone. In the Corona Simulator, this will sound a system beep (macOS only).
To enable the vibrate function on Android devices, you must set the permission level in the build.settings file.
settings =
{
android =
{
usesPermissions =
{
"android.permission.VIBRATE",
},
},
}
system.vibrate()
--make the device vibrate system.vibrate()