MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / link_blocks

Method link_blocks

scratchattach/editor/sprite.py:137–142  ·  view source on GitHub ↗

Link blocks to sprite/to other blocks

(self)

Source from the content-addressed store, hash-verified

135 _prim.link_using_sprite()
136
137 def link_blocks(self):
138 """
139 Link blocks to sprite/to other blocks
140 """
141 for _block_id, _block in self.blocks.items():
142 _block.link_using_sprite()
143
144 def link_comments(self):
145 for _comment in self.comments:

Callers 1

link_subcomponentsMethod · 0.95

Calls 1

link_using_spriteMethod · 0.45

Tested by

no test coverage detected