add a event to canvas lifematrix