Setting parameters template for Touch.XAt / YAt

  • [attachment=0:tu9m01rn][/attachment:tu9m01rn]Problem Description

    This is a UI issue. The "template" offered by C2 when filling in a value with the Touch.XAt or YAt function does not indicate that a layer parameter may be specified in addition to a touch index parameter. See attached image.

    Attach a Capx

    .capx not applicable, as this is a UI bug. An image is offered instead.

    Description of Capx

    Not applicable.

    Steps to Reproduce Bug

    • Step 1 Fill in any value field by double clicking the "XAt" expression under the touch category.
    • Step 2 Observe that the offered template shows "Touch.XAt(Index)" instead of "Touch.XAt(Index,"layer")"

    Observed Result

    Confusion.

    Expected Result

    Correct template to display.

    Affected Browsers

    • NA

    Operating System and Service Pack

    Windows Home Premium 64bit, SP1

    Construct 2 Version ID

    192 64bit steam

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Closing as by design: the parameter is optional and the expression can be used without it, so it doesn't suggest to use a layer parameter. It is however documented in the manual.

  • Ashley Looked at the manual again, saw that it is listed a second time below the version showing only index. Sorry, missed that somehow.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)