In an action against a professional employee of a school district involving an act that is incidental to or within the scope of duties of the employee's position of employment and brought against the employee in the employee's individual capacity, the employee is entitled to recover attorney's fees and court costs from the plaintiff if the employee is found immune from liability under this subchapter.
Tex. Educ. Code § 22.0517