Is there a way to play with my friend on game pass and im on steam

I got goat sim 3 on steam and my friend has it on game pass is there a way now or in the future that we can play together.

Unfortunately as of now there is no crossplay between Gamepass (Microsoft Store & Xbox) and Steam. Hopefully in the future they will add more crossplay between platforms, but for now either you or your friend will have to purchase Goat Simulator 3 on a compatible platform.
Here’s a graphic I made to show what platforms have cross compatibility with one another:

If you have further questions let me know! :goat_bless: