Hi Bram,
I’m not sure exactly what you mean, though I think I have an idea. Do you mean that you’re able to target (refer to) the display group that is holding the corners (triangle images), but you’re not able to target (refer to) the corners (triangle images) themselves? In this case, you can just make the triangle images a custom property of the group so that you can refer to them.
For example:
[lua]
– Create the display group
local cornerGroup = display.newGroup
– Create the display objects
local topLeftCorner = display.newImage(…)
local topRightCorner = display.newImage(…)
local bottomLeftCorner = display.newImage(…)
local bottomRightCorner = display.newImage(…)
– Insert the display objects into the display group
cornerGroup:insert(topLeftCorner)
cornerGroup:insert(topRightCorner)
cornerGroup:insert(bottomLeftCorner)
cornerGroup:insert(bottomRightCorner)
– Create references from the display group to the display objects for easier access
cornerGroup.topLeftCorner = topLeftCorner
cornerGroup.topRightCorner = topRightCorner
cornerGroup.bottomLeftCorner = bottomLeftCorner
cornerGroup.bottomRightCorner = bottomRightCorner
[/lua]