Type Function Return value String, Number, or Table Revision Release 2022.3683 Keywords iCloud, sync, storage, Key-Value Storage, KVS, get See also iCloud.set() iCloud.synchronize() iCloud.*
Retrieves the value from a stored key. It will return the same type that the value was stored as (string, number, or table). If the key is not found in KVS, this function returns nil
.
Note that values are not instantly synchronized across the user's
local value = iCloud.get( "touches" ) local json = require( "json" ) local someTable = json.decode( iCloud.get( "data" ) ) print( json.prettify( someTable ) )