getUserFromData

API -

return function()
    local app = getApp();
    local user = app.getUserFromData('clonzeh');
    
    if user == nil then
        log('could not find target user');
        return;
    end
    
    if user.isActive == false then
        log('this is not an active user...');
        --this means you cannot modify live-settings on the avatar directly
        --such as the temporaryScale
    end
    
end

Last updated