base template and mouse event