max clone count
Images needed
max clone count is a reporter block in Runtime Modifications that reports the maximum number of clones the project project can have. Without modifying the infinite clones setting, this value defaults to 300, which is also the limit of the number of clones in Scratch. You can also set this value using set max clones to ().
Example Uses
This block can be used to prevent users from using the project if infinite clones is disabled, which can be useful to make sure that the clone limit isn't reached:
when gf clicked forever set [project running? v] to <(max clone count::#777777) = [Infinity]> end
This variable would be used to keep track of the user's settings, so if the user changes the settings while the project is still going, then the project would stop.
Workaround
This block can be worked around by setting the maximum clone count with a variable when the set max clones to () block is used. However, this workaround isn't always perfect, as the user could change the clone limit by enabling and/or disabling "Infinite Clones".