# Ord values or constants for keys

**URL:** <https://forum.kirupa.com/t/ord-values-or-constants-for-keys/97454>\
**Category:** Uncategorized\
**Created:** [December 22, 2003, 5:11pm UTC](https://forum.kirupa.com/t/ord-values-or-constants-for-keys/97454 "2003-12-22T17:11:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![riveroaks](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@riveroaks](https://forum.kirupa.com/u/riveroaks)\
**Post date:** [December 22, 2003, 5:11pm UTC](https://forum.kirupa.com/t/ord-values-or-constants-for-keys/97454/1 "2003-12-22T17:11:47Z")

</div>

how can I get the ord values of certain keys…say if i want a function to run when the left arrow key is pressed… or right arrow key…or is there a constants list?
