The Texas House advanced a bill that would ban certain sexually oriented performances from being done in front of minors.

Senate Bill 12, which passed to the third reading on Friday, restricts these performances on public property, on the premises of a commercial business or in the presence of children under 18-years-old.

The legislation was originally written to restrict or ban drag shows in the state, but language prohibiting drag was removed after such a move was found to be unconstitutional.

The bill also prohibits people who control the premises of the business from allowing these performances in front of minors. Owners who violate this rule would be liable for a $10,000 penalty for each offense.

TEXAS BILL BANNING GENDER PROCEDURES, HORMONE THERAPY FOR TRANS KIDS SENT TO GOVERNOR

drag show key west florida

A drag performance is done at a club. (Paul Harris/Getty Images)

The Attorney General may recover expenses incurred by the civil penalty, including court fees and attorney fees. The Attorney General may also obtain a temporary or permanent injunction to restrain the violation.

Counties and municipalities would be permitted to regulate performances as necessary, but they would not be able to authorize a performance on public property or in front of minors.

Prohibited sexual acts under the bill include the exhibition or representation, actual or simulated, of sexual acts, including vaginal sex, anal sex, and masturbation; male or female genitals in a lewd state, including a state of sexual stimulation or arousal; the exhibition of a device designed and marketed as useful primarily for the sexual stimulation of male or female genitals; or actual contact or simulated contact occurring between one person and the buttocks, breast, or any part of the genitals of another person. 

PROTESTORS CONDEMN CHRISTIAN CHURCH HOSTING ‘FAMILY FRIENDLY’ DRAG NIGHT: 'DEFEND PURITY, REJECT PERVERSION

Drag Queen performing

Drag Queen and trans woman Maxine LaQueene performing drag in Texas. (Screenshot/YouTube)

The bill defines "sexually oriented performance" as a nude performer or any other performer who engages in sexual conduct and appeals to the interest of sex.

The penalty for performing a sexual performance in front of a minor would be a Class A misdemeanor, which is punishable by up to one year in jail, a maximum fine of $4,000 or both.

CLICK HERE TO GET THE FOX NEWS APP

The bill says sexually oriented performances may not be done on public property at a time, in a place and in a manner that could be reasonably expected to be viewed by a child or on the property of a commercial business in the presence of a child.

If passed, the bill would go into effect in September.