Both France and Spain lent military support to the American colonies during the American war for independence.
But it's my understanding that combat between these European nations occurred almost exclusively in the Americas.
Why didn't France invade England or England invade Spain if they were already at war with each other?
We're plans like this ever made but not put into motion?
You may find some answers here in a previous question about Louis XVI's motivations and French strategy re: American Revolution:
https://www.reddit.com/r/AskHistorians/comments/gmafh5/why_did_louis_xvia_monarchsupport_the_patriots/fr46rxq?utm_medium=android_app&utm_source=share by u/enygma9753.