A shifter assembly in a motor vehicle, the shifter assembly comprising: a shifter housing ; a shifter lever having a first end and a second end , the shifter lever coupled to the shifter housing at the second end , wherein the shifter lever is rotatable about a pivot axis (A) at the second end and is translatable in a direction parallel to the pivot axis (A); characterized in that the shifter assembly further comprises: a first 2D magnetic sensor ; a first magnet having a first magnetic field , wherein the first magnet is coupled to the shifter lever between the first end and the second end , and the first magnet is disposed proximate the first 2D magnetic sensor ; a second 2D magnetic sensor ; and a second magnet having a second magnetic field , wherein the second magnet is coupled to the shifter lever between the first end and the second end , and the second magnet is disposed proximate the second 2D magnetic sensor , wherein the first magnetic field is in radial alignment with the shifter lever and the second magnetic field is oriented perpendicular to the first magnetic field , and wherein the first 2D magnetic sensor detects an angular displacement of the first magnetic field when the shifter lever is rotated, and the second 2D magnetic sensor detects an axial displacement of the second magnetic field relative to the pivot axis (A) when the shifter lever is translated. a shifter housing ; a shifter lever having a first end and a second end , the shifter lever coupled to the shifter housing at the second end , wherein the shifter lever is rotatable about a pivot axis (A) at the second end and is translatable in a direction parallel to the pivot axis (A); characterized in that the shifter assembly further comprises: a first 2D magnetic sensor ; a first magnet having a first magnetic field , wherein the first magnet is coupled to the shifter lever between the first end and the second end , and the first magnet is disposed proximate the first 2D magnetic sensor ; a second 2D magnetic sensor ; and a second magnet having a second magnetic field , wherein the second magnet is coupled to the shifter lever between the first end and the second end , and the second magnet is disposed proximate the second 2D magnetic sensor , wherein the first magnetic field is in radial alignment with the shifter lever and the second magnetic field is oriented perpendicular to the first magnetic field , and wherein the first 2D magnetic sensor detects an angular displacement of the first magnetic field when the shifter lever is rotated, and the second 2D magnetic sensor detects an axial displacement of the second magnetic field relative to the pivot axis (A) when the shifter lever is translated. a first 2D magnetic sensor ; a first magnet having a first magnetic field , wherein the first magnet is coupled to the shifter lever between the first end and the second end , and the first magnet is disposed proximate the first 2D magnetic sensor ; a second 2D magnetic sensor ; and a second magnet having a second magnetic field , wherein the second magnet is coupled to the shifter lever between the first end and the second end , and the second magnet is disposed proximate the second 2D magnetic sensor , wherein the first magnetic field is in radial alignment with the shifter lever and the second magnetic field is oriented perpendicular to the first magnetic field , and wherein the first 2D magnetic sensor detects an angular displacement of the first magnetic field when the shifter lever is rotated, and the second 2D magnetic sensor detects an axial displacement of the second magnetic field relative to the pivot axis (A) when the shifter lever is translated. <EOS>