On screens where there is an instruction to sketch something, I like to have a warning for the teacher dashboard if a student has left the screen without any sketching.
This is what I’ve used in the past
warning:
when sketchStrokeCount(sketch_component.sketch)=0
and sketchPointCount(sketch_component.sketch)=0 "No indication on graph"
otherwise ""
Could I safely replace the condition with the following?
sketchTotalStrokeLength(sketch_component.sketch)=0
Is there an even better way? For instance, some function which I don’t know about like isBlank(sketch_component.sketch)
?