If you need to read the entity `Component`, or a `Databag`, from a standard `GDScript` function, it's possible to use the `ECS` singleton in this way: ```gdscript func _ready(): var component = ECS.get_active_world().get_entity_component(get_entity_id(), ECS.TransformComponent) ``` The function `get_active_world` is used to get the currently active world, however, this function is really verbose. Is it possible to make it shorter? The function `get_entity_component` is good, but still verbose. Is it possible to make this shorter? What about this? Is still understandable? Worth it? ```gdscript func _ready(): var component = ECS.get_world().get_component(get_entity_id(), ECS.TransformComponent) ```
Activity
AndreaCatania commentedon Jul 21, 2021
Moving the proposal to discussions to keep the issue just of technical stuff to fix.