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