Support getting coordinate using mouse