Returns if the key is currently down
- key : string //
Returns if the key is currently down
- key : string //
function update() {
$.text.alignment.x = "center";
$.text.alignment.y = "center";
$.text.size=20;
if($.keys.down("a")){
$.text.print($.w/2,$.h/2,"a");
}
}