#include <include/flecs.h> FLECS_API bool ecs_query_changed(ecs_query_t *query)
Returns whether the query data changed since the last iteration. This operation must be invoked before obtaining the iterator, as this will reset the changed state. The operation will return true after:
- new entities have been matched with
- matched entities were deleted
- matched components were changed
query- The query.
- true if entities changed, otherwise false.
- Manual / Change tracking