Let's say i want to make gaming NFT with variable Level.
i have game which using that NFT, when we play the game the NFT will level up.
i want the NFT only can be leveling up from the game.
as i know if we create public function that can changing the level variable, it can be accessed with the owner of the NFT (people who bought the NFT).
i want the function only can be accessed by the application, so account who have the NFT can't edit the level themself on explorer.
how to create function with access like that, or did my logic is wrong?