Currently, the QueryDescendants method (and the underlying query syntax) does not support filtering by Enum properties. Attempting to use a selector like [Face = Front] results in a runtime error. This request is to add native support for Enum comparisons within the query string.
When trying to filter objects based on an Enum property, the engine throws the following error:
Property [PropertyName] of type Enum is not supported for comparison
Example Code:
-- This currently fails
for _, frontFaceTexture in workspace:QueryDescendants("[Face = Front]") do
print(frontFaceTexture.Name .. " is on the front face.")
end
Allow the query engine to parse and compare Enum values. The syntax should ideally support both the Enum item name (e.g., Front) or potentially the full qualified name (e.g., Enum.NormalId.Front), though the short name is more consistent with existing query patterns.