SetMotor
Unsafe
For thread safety, this property is not safe to read in an unsynchronized thread.
Sets the vibration intensity of the specified UserInputType and VibrationMotor.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
|
|
The specified |
||
|
|
The specified |
||
|
|
How intensely the motor should vibrate |
Returns
| Return Type | Summary |
|---|---|
|
No return |
Code Samples
HapticService:SetMotor
This example makes the small motor vibrate depending on how much pressure is applied to the left trigger, and the large motor vibrate depending on how much pressure is applied to the right trigger.