choose direction with mouse