- The FUNCTION operator is intended to modify operator and scene state management according to the state of its children. The function logic operator is a When block. It inherits the AND operator logic and applies a function to the children’s block. The state of the children’s block is the same as if it was wrapped in an AND operator: it is true if all children are , and it is otherwise. The FUNCTION operator can contain only one of the available functions.