Getting Parent Entity


#1

I am getting an entity returned to me from a ray cast result, and I need to retrieve its parent entity tags. However the parent entity that I am getting is more like a sibling, its on the same hierarchy level as the child.

an example of our project setup is

space {
    Title {
        Generic_Tile
     }
    Property {
        Building
    }
}

When i console log result.entity.parent from the raycast I get Generic_Tile as the parent for Building, when what I need are the tags on Space


#2

Do you have a public project to share?