1. A method of detecting a position-based attribute of an object with respect to a touch-sensitive region comprising a plurality of electrodes, the method comprising the steps of: producing a plurality of distinct digital codes used to create a plurality of modulation signals applied to an associated at least one of the plurality of electrodes to obtain a resultant signal that is electrically affected by the position of the object; demodulating the resultant signal using the plurality of distinct digital codes to thereby discriminate electrical effects produced by the object; and determining the position-based attribute of the object with respect to the plurality of electrodes from the electrical effects.