When creating for example image by code, there is some code snippet inside. I wanted to replace the x position in there with variable PosX, which I would like to set beforehand. Unfortunately the code does not recognize nested variables. What I wanted to achieve is some kind of a line made from images in form of rectangles automatically after I click the button or start a task. I would like to set the distance between rectangles as well as their size, but Tasker is so mysterious with the nested Java code for image and variable PosX and PosY don't work inside. Any ideas?