I sent bitcoin to someone and did not get paid I sent Bitcoin to someone who promised to pay me in cash personally once he received the Bitcoin in his BitPay wallet. But once he got the Bitcoin, I  never got paid by him. Is there anyway I can do something about this matter?
Does Bitcoin have a function that would allow the BTC you sent to be returned, No.

The only way to get the BTC back is if the recipient makes a new transaction sending the Bitcoin to your receiving address. If the recipient will not do this, you may think about contacting a lawyer.