UserInputType and VibrationMotor.

This will not return anything if SetMotor has not been called prior.

"> PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

GetMotor

Returns the current vibration value set to the specified UserInputType and VibrationMotor.

This will not return anything if SetMotor has not been called prior.

Parameters

Name Type Default Description

The specified Enum/UserInputType

The specified Enum/VibrationMotor

Returns

Return Type Summary

The current vibration value set to the specified Enum/UserInputType and VibrationMotor or nil if HapticService/SetMotor has not been called prior