B.G 3.27
prakr̥tēḥ kriyamāṇāni guṇaiḥ karmāṇi sarvaśaḥ। ahaṅkāravimūḍhātmā kartāhamiti manyatē ॥27॥
The deluded being with ego perceives themselves as the doer, although all actions stem from qualities manifested by Prakrti, the insentient principle.
Gīta Bhāshya 3.27
The being, who is a reflected image, is dependent, and not the real doer. His 'Indriyas', i.e. five senses, five organs of action, and the mind is driven by the 'Prakrti' the insentient principle. The wise are cognisant of their dependent nature, while ignorant think himself to be the doer.
vidvadaviduṣōḥ karmabhēdamāha - prakr̥tēḥ iti।
The difference in the discrimination of actions by the wise and the ignorant is explained in 'prakr̥tēḥ', i.e. 'by the insentient principle', verse.
prakr̥tēḥ guṇaiḥ iṁdriyādibhiḥ। prakr̥timapēkṣya guṇa bhūtāni hi tāni। tatsambandhīni ca। nahi pratibimbasya kriyā ॥27॥
The 'indrias', i.e. five organs of senses, five organs of action, and the mind, are because of the qualities of 'Prakrti'. Indeed, the qualities of those beings are dependent up on Prakrti, the insentient principle. They are interrelated as well. It is not possible for the reflected image to act.
An analogy can be drawn to a roller coasters rides in the amusement park. A person sitting on the front cart can get deluded and think he is the driver and he is empowered to take the ride wherever he wants. But the roller coaster in firmly attached to the tracks and goes only as per the designed route.