Dear @Abena,
Welcome to the Wefugees Community and thank you for reaching out to us.
Unfortunately, I am not too familiar with the conditions of the residence permit according to section 16f of the German Residence Act "Language courses and school attendance" but I tried to make some research. I could not find any information saying that it is not allowed to travel with your residence permit to other EU countries - neither in the law itself nor in any other source (like the respective law application notes by the German Ministry of Interior). Therefore, I assume that you can travel across the EU for up to 90 days within 180 days as long as you hold a valid travel document. Do you agree dear @mbeon-fardeen or @mbeon-Christine?
All the best,
Meike