Any way to check if any key was pressed?

BlitzMax Forums/BlitzMax Programming/Any way to check if any key was pressed?

In the main loop want to check for any key then pass the getted key_coded to each sprite behavior and inside of behavior scheck what is the key to make the action.