What is this component?

Hi guys i have a carerra impel scooter i bought it second hand it just beeps i have found out why it beeps something to do with this bit of circuit and a magnet but one of the solder pads came off the board i have tried to resolder it but its not working could anybody direct me to a replacement part i juts have no idea what it is called.
Any help would be greatly appreciated :+1:

Many thanks

That is the other side

Looks like the throttle. check this out Zero10x Conversion from Thumb throttle to Twist throttle. - YouTube.
he customizes that part in the video. has some useful knowledge. :slight_smile: