Slide from the right instead of from the left

Hello , i hope someone can help me... I want to slide , but not found a solution for my problem.. Where can i add
Code Block
{
withAnimation {
goToFolders.toggle()
}
}

to slide right ?


Code Block private var folderButton: some View {
Button(action:{
goToFolders = true
}, label: {
Image(systemName: "tray.2").imageScale(.large)
})
.background(
NavigationLink(destination: FolderOverView()
.environment(\.managedObjectContext, PersitentDataProvider.dataProvider.persistentContainer.viewContext), isActive: $goToFolders) {
EmptyView()
}
.hidden()
)
}


Slide from the right instead of from the left
 
 
Q