mouse interaction

successfully getting mouse coordinates