get input point