make<T>(comps?: CompList): GameObj<T>
Create a game object like add(), but not adding to the scene.since
v3000.1
const label = make([ text("oh hi"), ]) add([ rect(label.width, label.height), color(0, 0, 255), children(label), ])
since
v3000.1
const label = make([ text("oh hi"), ]) add([ rect(label.width, label.height), color(0, 0, 255), children(label), ])