colorKey()

Set the colorkey for bitmap transparency. If color is set to -1 (default value) will be used the image upper-left pixel color.

Syntax:
colorKey( color )

old setColorKey() command syntax is still valid.
 

Example: