local code, lv = World:getLightByPos(x, y, z) if code == ErrorCode.OK then print('Execution successful', code, lv ) else print('Execution failed') end