Cant edit script's properties

There is an old annoying bug:

  1. Create new collection.
  2. Add three go: “go”, “go1”, “go2”.
  3. Drag “go1” and “go2” to “go”'s children.
  4. Create a script with go.property(‘url’, msg.url(‘.’)).
  5. Add the script to “go”.
  6. If you select script, property window continues to show fields of previous object.
    I’m using Defold for Windows 7.
    Example attached (remove ‘.lua’ ending in file’s name).

test.collection.lua (871 Bytes)
test.script.lua (33 Bytes)

1 Like