Skip to content

Custom procedure identifiers #716

Open
@rachel-fenichel

Description

@rachel-fenichel

What is the unique identifier for a custom procedure?

Scratch 2.0 uses the procCode, which is not unique: a user can create two different procedures with the same name, and they'll collide.

See scratchfoundation/scratch-blocks#607 (comment) and the following comments for more context.

If there's a unique identifier that is not the procCode it will need to be passed to scratch-blocks as part of a custom block definition, probably as a mutation on procedures_callnoreturn_internal and procedures_callnoreturn blocks.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions