H1 B Without COS Transfer

My H1B without COS got approved with employer A and they have shared only I – 797 C notification with me. Now they don’t have projects for me. They suggested me to search project yourself .In this condition can I transfer my visa to another company B or do I need to stay with company A ?

Appreciate your suggestion.

Thanks.