Can F2 Visa Travel?

I currently have F2 Visa and I am a minor.

My parent has F1 visa.

My parent and I change to F visa more than a year ago in the US.

And I am wondering if I could travel to my home country this summer.

Can I travel to my home country as f2 visa?

I know that I can with F2 visa but since I changed to f2 in the US, i am wondering if that affect my travel?

Please let me know:)

Thank you in advance!!