HapticService:SetMotor has incorrect method signature

Reproduction Steps
Look at the documentation for SetMotor:
HapticService:SetMotor (roblox.com)

It lists the third argument as a tuple of intensities. However, only one number is accepted.

How do I know? Well, adding anything after the third argument doesn’t do anything. I can literally write:

HapticService:SetMotor(Enum.UserInputType.Gamepad1, Enum.VibrationMotor.Small, 1, "abc", true, false, 32)

It doesn’t care about any arguments past the third.

Expected Behavior
The third argument should be a single number, and it should be listed as such in the API docs.

Actual Behavior
The third argument is listed as a tuple.

Issue Area: Studio
Issue Type: Other
Impact: Low
Frequency: Constantly

3 Likes

This looks like a documentation issue rather than a Studio-specific issue, I’ll move this over to #bug-reports:documentation-issues for now.

2 Likes