Comment on page
Selection
You can request the selected blocks in the workspace by using the
selection
variable. An example of a button that when it's clicked, then the background color of all selected blocks change to red:
when click me:
for each in selection (it):
set it.background to "red"
end
end
Last modified 1yr ago