[SOLVED] KeyDown is not an event in mouse on the wiki

Just noticed it’s not listed as an event in the wikia page:

Its deprecated

Deprecated.

If you want a Mouse and Keyboard object, here’s a module I made for them that acts somewhat similar. The comment headers of the modules describe their associated properties and methods.

Hate to repeat what everyone else said, but yeah its deprecated.
You should use the UserInputService, or the ContextActionService.

I am, but to test simple things I like to use keydown.

How do I show deprecated functions?

‘Show Hidden Members’ on the right side of the page.

1 Like