Configurations of a stylus and controlling methods thereof are disclosed. The proposed stylus causes a touch panel to generate a signal by an electrical field generated by a magnetic field via one of a conductor and an electric plate, wherein the stylus includes a set of windings and a magnet, which can move towards each other and generate a current on the set of windings through interaction. The current flows through the conductor/electric plate on a tip of the stylus to generate one of an electric flux line and a magnetic flux line such that the touch panel can sense the movement of the stylus.