Tex. Penal Code § 21.11
(a) A person commits an offense if, with a child younger than 17 years of age, whether the child is of the same or opposite sex and regardless of whether the person knows the age of the child at the time of the offense, the person:
(2) with intent to arouse or gratify the sexual desire of any person:
(b) It is an affirmative defense to prosecution under this section that the actor:
(3) at the time of the offense:
(c) In this section, "sexual contact" means the following acts, if committed with the intent to arouse or gratify the sexual desire of any person:
Acts 1973, 63rd Leg., p. 883, ch. 399, Sec. 1, eff. Jan. 1, 1974.
Amended by Acts 1981, 67th Leg., p. 472, ch. 202, Sec. 3, eff. Sept. 1, 1981;
Acts 1987, 70th Leg., ch. 1028, Sec. 1, eff. Sept. 1, 1987;
Acts 1993, 73rd Leg., ch. 900, Sec. 1.01, eff. Sept. 1, 1994;
Acts 1999, 76th Leg., ch. 1415, Sec. 23, eff. Sept. 1, 1999;
Acts 2001, 77th Leg., ch. 739, Sec. 2, eff. Sept. 1, 2001.
Acts 2009, 81st Leg., R.S., Ch. 260 (H.B. 549), Sec. 1, eff. September 1, 2009.
Acts 2017, 85th Leg., R.S., Ch. 685 (H.B. 29), Sec. 32, eff. September 1, 2017.
Acts 2017, 85th Leg., R.S., Ch. 1038 (H.B. 1808), Sec. 3, eff. September 1, 2017.