$begingroup$

I wish to set my sprite in x coordinate based mostly on an object in TMX map file,
that is my code:

tileMap = cocos2d::TMXTiledMap::create("floor.tmx");
floor = tileMap->layerNamed("floor");
this->addChild(tileMap);

TMXObjectGroup *objects = tileMap->objectGroupNamed("objects");
Dictionary *signal = (Dictionary*)objects->objectNamed("signal");

How am i able to get a price of object in tmx file in Cocos2d x ?

$endgroup$