UserInputService.AccelerometerEnabled botched quotation marks in code sample results in error

The code sample documented on the AccelerometerEnabled property page utilises botched quotation marks resulting in error.


Issue lies on line 1 of the code sample, where local UserInputService = game:GetService(“UserInputService”) utilises instead of ".

Error

image

Image


Fix: Replace the botched quotation marks with actual quotation marks.

Thanks for the report.

We’ve ran a search for these rogue marks and they should now be corrected.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.