It is a motion. You can use one of the all purpose motions on this site and conform it to your needs. You will need to state the reasons or grounds for your motion to transfer venue.
47.011 Where actions may be begun.--Actions shall be brought only in the county where the defendant resides, where the cause of action accrued, or where the property in litigation is located. This section shall not apply to actions against nonresidents.