Added mouse click, pressed & released functions.