[SOLVED] Way to add descriptions to script attributes?

Some of my script attributes need to be described a little better inside the idea (due to my terrible memory). I tried this as a guess but it didn’t do anything:

Hotspot.attributes.add("isolateParentOnTap", {type: "boolean", title: "Isolate Parent On Tap",default: "false", description:"Will this hotspot hide all the other models and go into Flexibility/Air FLow/Compression mode?"});

Hi @Grimmy ,

Your code seems correct enough, things to try:

  1. Description appears only after mouse hover over the attribute label:


  1. Did you parse the script after you added the description? That is required for it to show.

Thanks. Yes, it had not parsed correctly. Cheers

1 Like