iterami/Docs.htm/common HTM Repos/entity.js/entity_create(args)
- Creates an entity, provides it with an ID and additional properties based on entity defaults and functions, and then returns it.
- Not including the "id" arg makes the entity use "String(entity_id_count)", which starts at 0 and goes up by 1 each time an entity is created.
| id
| String(entity_id_count)
| string ID
|
| properties
| {}
| object
|
| types
| []
| array of strings
|