Skip to content

Does "when node <node> double-clicked" block still work? #455

@dulcarnon

Description

@dulcarnon

I have been unable to get the "when node double-clicked" block to work, either in my own scripts or in the examples like Sim and Tic-Tac-Toe.

If I start from the simple script suggested in the Help for that block, and double-click on some node on the stage, I get an error that varies a little from browser to browser:

  • in Chrome 91 and Edge 91: "Uncaught TypeError: Cannot read property 'variables' of null"
  • in Firefox 89: "TypeError: this.home.Context.receiver is null"

In any of those browsers, double-clicking on the script itself gives "Error a variable of name 'node' does not exist in this context".

Thanks for your attention and your great Snap mods!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions