Use Object Contract 
 Zoe v0.24.0. Last updated August 25, 2022. 
View the code on Github (Last updated: Jan 31, 2022) 
View all contracts on Github 
This contract is an example of associating a particular ability with ownership of a non-fungible token (NFT). In this case, ownership of a particular pixel NFT gives the user the ability to color that pixel. Note that the NFT must be escrowed at the time for the coloring to succeed.