How do I set the price for the NFT through solidity?

Hi all, Iā€™m still new to Solidity. I have seen examples for protocol 721 where the owner immediately set the price for his work. Question is it possible to do the same on 1155 and if so how can I get links to solutions or tutorials? Thank you very much!

This might be helpful

Very cool thank you very much!