throttle position sensor

can a throttle position sensor can be used as an input to the arduino uno?.futher i need only to sense whether the throttle is in idle positon or not

Should be able to but you need to spend some time and measure the TPS you are working with to determine what the output from it looks like and what the range is.