It is not against the law in Texas to swear in front of anyone, as the first Amendment of the United States Constitution protects freedom of speech, which includes the use of profanity. However, there are certain situations in which the use of profanity may be considered disorderly conduct, such as if it is used in a way that incites violence or causes a disturbance in a public place. Additionally, schools and some workplaces may have their own policies regarding the use of profanity, which could result in disciplinary action.