Constrain Keyboard responses to numbers

Keyboard components have a paramater ‘allowed keys’ which you could set to ‘1’,‘2’,‘3’,‘4’…

You do need quotes and commas - these are the names of the keys not the numbers they represent.

1 Like