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
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")"
Correct template to display.
Operating System and Service Pack
Windows Home Premium 64bit, SP1
Construct 2 Version ID
192 64bit steam