grounded {get;set}

API -

return function()
    local user = getUser('clonzeh');
    if user == nil then
        log('user does not exist!');
        return;
    end

    log(user.physics.grounded);
    --detects whether the avatar is on the ground or not.
    
    user.physics.grounded = true; --temporarily sets grounded to true
    --but it will update back to false if it's not actually grounded.
end

Last updated