im newbie who's trying to set position image icon in my canvas, btw im making navigation map and i tried to do this way instead of just drag it freely cuz i dont want my map ruins when someone dont have same device resolution like mine
i wanna make like this
for (int i = 0; i < spriteList.length; i++) {
spriteList[i].setX(posXlist[i] * canvasWidth);
spriteList[i].setY(posYlist[i] * canvasHeight);
}
To traverse parallel lists, you need the other kind of For Each block, the For Each Index From 1 to length of list(...) = this one eh ?
Change sprite X and Y values using the Any Sprite blocks, which you can find in their own sub-pallette =im clueless
By The Way, if you want the Sprites to appear over a Map, switch to using Markers, which you can pin onto maps
it does't work for me, is it cuz i use canvas and not map, btw i want the user to be able to click the icon and turn on true visible and shows description
thanks for the reply
sorry for late reply, i fixed it btw newproblem arises,
why when i go to other page, then go back to main, it opens camera again, i already set it to false if i click button continue after get image