Microsoft MakeCode

Rotation Sensor Measurement

How do you measure the number of rotations within a “While” loop logic?

For example, I’d like to follow a line for “15” inches, which requires access to the rotation sensor. We can access an “angle” reading, but not a cumulative “rotation” reading from the time the sensor is reset. Do we need to create our own measurement blocks based the “angle” sensor to measure “rotations”? Or will MakeCode introduce a “rotation” sensor block?