Elements in groups can currently not be addressed by intersections.
The following code does not work:
#cetz.canvas({
group(
name: "foo",
{
rotate(45deg)
rect(name: "bar", (-1, -1), (1, 1))
},
)
line(name: "baz", (-2, -2), (2, 2))
intersections("i", "foo.bar", "baz")
})
Elements in groups can currently not be addressed by
intersections.The following code does not work: