16 Replies Latest reply on Dec 26, 2016 2:14 PM by pixxxel schubser

    Prompting without prompting and direct selection

    StrongBeaver Level 2

      Is it possible to check in the background if the user has selected a gradient mesh without prompting the user to select a gradient mesh and only prompt the user to

      select a gradient mesh once ? I can't find in the reference guide how to select the direct selection tool ?

       

      var GrdntMesh = mDoc.meshItems.selection = 0;
      if (GrdntMesh == 0); {
      prompt("Choose a Gradient Mesh Shape");
      } else {
      };