Engaging in chasing, where an actor actively pursues a target, is considered a crucial activity for the development of social skills. Previous studies have focused predominantly on understanding the neural correlates of chasing from an observer's perspective, but the neural mechanisms underlying the real-time implementation of chasing action remain poorly understood. To gain deeper insights into this phenomenon, the current study employed functional near-infrared spectroscopy (fNIRS) techniques and a novel interactive game. In this interactive game, participants (N = 29) were tasked to engage in chasing behavior by controlling an on-screen character using a gamepad, with the goal of catching a virtual partner. To specifically examine the brain activations associated with the interactive nature of chasing, we included two additional interactive actions: following action of following the path of a virtual partner and free action of moving without a specific pursuit goal. The results revealed that chasing and following actions elicited activation in a broad and overlapping network of brain regions, including the temporoparietal junction (TPJ), medial prefrontal cortex (mPFC), premotor cortex (PMC), primary somatosensory cortex (SI), and primary motor cortex (M1). Crucially, these regions were found to be modulated by the type of interaction, with greater activation and functional connectivity during the chasing interaction than during the following and free interactions. These findings suggested that both the MNS, encompassing regions such as the PMC, M1 and SI, and the mentalizing system (MS), involving the TPJ and mPFC, contribute to the execution of online chasing actions. Thus, the present study represents an initial step toward future investigations into the roles of MNS and MS in real-time chasing interactions.