mouse functions + specs; [w,h] -> {w,h}