how to store player's offhand in a storage

does anyone know how to get the player's offhand in the latest version using /data command or any other way to store into the storage 👨‍🦲

Continue to help post