This particular use case can be handled in a straightforward way by a method. local t = obj:retrieve(x,y,z)