UserInputType and VibrationMotor."> PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

SetMotor

Sets the vibration intensity of the specified UserInputType and VibrationMotor.

Parameters

Name Type Default Description

The specified Enum/UserInputType

The specified Enum/VibrationMotor

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.