Fandom

Foldit Wiki

Foldit Lua Function freeze.Freeze

1,425pages on
this wiki
Add New Page
Comments0 Share


freeze.Freeze Edit

Function: void freeze.Freeze(integer segmentIndex, boolean backbone, boolean sidechain)
Description: Freeze a segment's backbone and/or sidechain.
V1 Function Name: New to V2


Remarks Edit

Sample Edit

Code that freezes backbone in all sheets

for i=1,structure.GetCount() do
  if structure.GetSecondaryStructure(i)=="e" then
    freeze.Freeze(i, true, false)
  end
end

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.