In this paper, we report a 3D printed hybridized nanogenerator which can convert the in-plane arbitrary motions and vibrations into useful electrical energy. Also, it can detect in-plane arbitrary motions and vibrations effectively. The proposed device consists of a central magnet based hybridized electromagnetic (EMG) and triboelectric nanogenerator (TENG) and the repulsive force from central magnet drives the four side magnets for self-powered motion sensors (MS1, MS2, MS3 and MS4). The EMG and TENG generates the peak power of 18 mW at 193 $\Omega$ and 3.25 $\mu$ W at 10.5 M$\Omega$ load resistance, respectively. The proposed motion sensor is capable of sensing arbitrary motion in 3-axis directions. With the integration of motion sensing capability as well as energy harvesting on the same device, a complete self-powered sensor system has been successfully demonstrated.