pub fn freeze(entity: EntityId)
Freezes an entity, so that it cannot move around. Does nothing if the entity was already frozen.
entity