If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Course: Unlisted resources area > Unit 2

Lesson 1: ProcessingJS documentation

keyTyped()

If you define a function called keyTyped in your program, it will be called every time a key is "typed", which is subtly different from being "pressed" and then "released." Action keys like CTRL/SHIFT/ALT are ignored.

Want to join the conversation?

No posts yet.