UIS:GetKeysPressed() has an error

https://www.robloxdev.com/api-reference/function/UserInputService/GetKeysPressed

It’s written ”UserInputService::GetKeysPressed()”, with two colons.

It also tries looping through ”keycodes” when that variable is not defined anywhere in the script. For new learners this would be very confusing, which is why I’m requesting it to be changed.

2 Likes

Also there’s 2 “copy code” tab things aswell im guessing thats a bug

2 Likes

The errors on this page have been corrected, thanks for the report!

Yes, this is a bug on code samples with an ‘expected output’ tab.

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