Getting the property of the object in the tiled map