In most cases, parents can control whether their child spends time with grandparents or other relatives. However, if a relative believes that it is in the child’s best interest for them to obtain custody, they can petition the court. Both parties petitioning for custody and parents defending against a petition should have help from a Texas child custody attorney.