Foldit Wiki


void structure.InsertCut(integer segmentIndex)
Insert a cut at the index.
V1 Function Name
New to V2

structure.InsertCut inserts a cutpoint after the segment specified by segmentIndex.

The cutpoint is inserted between segmentIndex and the next segment, segmentIndex + 1.

The value of segmentIndex must be between 1 and the value returned by structure.GetCount. Any other value produces an error. Specifying the last segment does not produce an error, but it has no effect.

See also structure.DeleteCut.