Implement mouse interaction