Closed Joakker closed 4 months ago
This is because Children is a component containing a private smallvec, indexing into the component itself is not a defined operation, the current wrapper does not define an index or new index metamethod (none of the wrappers apart from glam types do)
However, the world userdata does define get_children and similar functions
Thank you
In a script like the following
Even if the
Children
component is not empty, trying to get the nth child via the proxy reference always yields nil instead