B.G 3.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.
विद्वदविदुषोः कर्मभेदमाह - प्रकृतेः इति।
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.
प्रकृतेः गुणैः इंद्रियादिभिः। प्रकृतिमपेक्ष्य गुण भूतानि हि तानि। तत्सम्बन्धीनि च। नहि प्रतिबिम्बस्य क्रिया ॥२७॥
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.