-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept reporters in property field of sensing_of block #1418
Comments
I think that’s a great idea! |
cross-linking with #1199 (comment) |
Going to pull in some comments from my closed pull request, just so they're here for convenient reference:
[*] Potential exception being if/when scratchfoundation/scratch-parser#47 is implemented - changing the type of the slot to an input rather than a field would be possible and harmless then. The PR was closed for technical reasons and because the existing solution's side effect of making the input droppable was not acceptable. |
I had a PR for this in scratch-flash (scratchfoundation/scratch-flash#1250) that was closed due to it being put on maintenance mode. I'd like to restart that discussion here for Scratch 3.0
Proposal
Accept reporters to be dropped on the PROPERTY field of the "sensing_of" block
Argument
For the same reasons a user might want to programmatically define the sprite you'd like to access in the OBJECT field, it is similarly useful to programmatically define the PROPERTY you'd like to access. From the perspective of the VM, this behavior should be 100% backwards-compatible with scratch 2.0 projects (it's already possible with manual editing of your project file)
The text was updated successfully, but these errors were encountered: