- Preparing search index...
- The search index is not available
chatgpt4pcg
Function getBlocksWithPosition
- getBlocksWithPosition(functionsString: string, functionPrefix?: string): [Block[], Grid]
-
Parameters
-
functionsString: string
-
functionPrefix: string = 'drop_block('
This function is used to get the blocks with their positions on the grid
Returns
an array of
Block
's blocks with their positions on the grid