You are entitled to reasonable visitation right and your ex cannot deny your right just because you moved out of the state.
You may ask the court to enter an order to enforce your right, and also you may want to consider to modify the terms of visitation because you no longer live in the state where your child. (e.g. longer time during child's vacation)
Disclaimer: This is for informational purposes only, and not a legal advice.