Hi, i have the following problem:
I have 3 layers
a/layer island with 6 sprites of grass (all the same with diffirent instance var) and i want to build a building when you click on any of them (and open the building layer like pop-up)
b/layer background
c/layer buildings that player clicks on 2 type of buildings and suppose create one of them at the last potition of the grass clicked
i set position of x and y at grass and i declare at what layer and x,y co ordinates the new building must be created but the building always build in the same position (1st grass sprite)
i click the grass sprite then layer opens to choose building to create ,i click on building and builds at same grass sprite all time
how can i make the actions so the new building creates in the last position clicked? in any grass sprite that i choose and click?
ty