keyboard_key_release

With this function you can simulate the release of any key on the keyboard. The function will take a keycode value as returned by the function ord() (only capital letters from A-Z or numbers from 0-9), or any of the vk_* constants listed on the main Keyboard Input page.

 

Syntax:

keyboard_key_release(key);

ArgumentTypeDescription
keyVirtual Key Constant (vk_*)The key to simulate a release of.

 

 

Returns:

N/A

 

Example:

keyboard_key_release(vk_space);

This will simulate a spacebar release.